libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

cd /usr/lib
sudo ln -s libssl.so.0.9.8 libssl.so.10
sudo ln -s libcrypto.so.0.9.8 libcrypto.so.10
sudo apt-get update
sudo apt-get install libssl1.0.0 libssl-dev

cd /lib/x86_64-linux-gnu
sudo ln -s libssl.so.1.0.0 libssl.so.10
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.10 

//这边根据自己需要的版本安装 
sudo apt-get install libssl1.0.0:i386     

sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/libssl.so.10
sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.10 
  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
As an AI language model, I cannot directly solve the problem for you but I can provide some guidance on how to resolve the issue. The error message "ImportError: libmpi.so.12" indicates that the system is unable to locate the shared library file "libmpi.so.12" which is required by the program or script you are running. This library file is usually part of the OpenMPI package, which is used for parallel computing and distributed processing. Here are some possible solutions to resolve the issue: 1. Install OpenMPI: If you have not already installed OpenMPI on your system, you can try installing it using your package manager. For example, on Ubuntu or Debian, you can run the command "sudo apt-get install libopenmpi-dev" to install the development files for OpenMPI. 2. Set the LD_LIBRARY_PATH environment variable: If you have already installed OpenMPI but the system is still unable to locate the library file, you can try setting the LD_LIBRARY_PATH environment variable to include the directory where the library file is located. For example, if the library file is located in "/usr/lib/openmpi/lib", you can run the command "export LD_LIBRARY_PATH=/usr/lib/openmpi/lib:$LD_LIBRARY_PATH" before running your program or script. 3. Check the library file location: If you have installed OpenMPI but the library file is still not found, you can check if the library file is located in a different directory than expected. You can use the "find" command to locate the file, for example, "sudo find / -name libmpi.so.12". 4. Reinstall the library file: If the library file is missing or corrupted, you can try reinstalling the OpenMPI package or the library file itself. It is recommended to consult the documentation or seek help from the community of the software you are using if these solutions do not work.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值