/usr/bin/ld: cannot find -lsz
时间: 2023-09-03 18:09:40 浏览: 171
根据引用中的信息,"/usr/bin/ld: cannot find -lsz"这个错误是由于在编译过程中找不到名为"libsz"的库文件导致的。解决这个问题的方法是确保你的系统中已安装了相应的库文件。你可以使用以下命令来安装libsz库文件:
sudo apt install libsz2
安装完成后,重新编译你的程序,应该就能解决这个问题了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [安装medpy with graphcut support](https://blog.csdn.net/u012897374/article/details/126361720)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [/usr/bin/ld:cannot find-lThreads的解决办法](https://download.csdn.net/download/lj_70596/13944290)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文