When trying to start a certain program, I got the following error message:
error while loading shared libraries: foo.so.0: cannot open shared object file: No such file or directory
Therefore I built the required library and installed it under the directory /usr/local/lib/
. However, after building the library, there were only the files foo.so
, foo.so.1
and foo.so.1.0.8
under /usr/local/lib/
. So I created an additional symbolic link to foo.so.1.0.8
named foo.so.0
. I checked that /usr/local/lib
is included in some file under /etc/ld.so.conf.d/
and started sudo ldconfig
.
Unfortunately ldconfig
seems to ignore my self-created symbolic link. ldconfig -v
prints only the following line:
foo.so.1 -> foo.so.1.0.8
ldconfig -p
prints only the following two lines:
foo.so.1 (libc6,x86-64) => /usr/local/lib/foo.so.1
foo.so (libc6,x86-64) => /usr/local/lib/foo.so
There is not a blind bit of the file foo.so.0
. What do I have to do?
sudo apt-get install openmpi-bin
? Otherwise , link to what you installed please.