error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory
时间: 2023-08-27 22:15:16 浏览: 234
回答: 这个错误是因为系统无法找到所需的共享库文件libmpc.so.3。解决这个问题有两种情况。第一种情况是系统没有所需的文件libmpc.so.3,需要安装该库文件。第二种情况是文件已经存在,但是系统无法在默认目录中找到它。对于第二种情况,可以通过在/etc/ld.so.conf文件中添加libmpc.so.3所在的目录来解决。这样系统就能够找到该文件并加载它了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [error while loading shared libraries错误的解决](https://blog.csdn.net/formalin2013/article/details/48553785)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [error while loading shared libraries](https://blog.csdn.net/formalin2013/article/details/48553531)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]