error while loading shared libraries: libgvc.so.3: cannot open shared object file
Hi,
I think there's a problem with my shared libraries, is there any way to troubleshoot it? Anyone can help? I was trying to make install on graphviz when this happened Same thing happened when I was trying to run the net-snmp daemon as well. Thanks in advance. Regards Jason |
Sounds like there's a missing library. I don't use graphviz, but is there a README or INSTALL file with the sources that details the dependencies?
|
I doubt it's the graphviz problem, more like unable to retrieve nor access the shared lib problem.
|
I didn't say it was a problem with graphviz - I said that the docs that come with graphviz should have information about what needs to be installed on your system for you to be able to compile it.
|
If you compiled a program from source usaully it has a default --prefix=/usr/local and the dirctory name of the application will be appended when you installed the system at that prefix to become /usr/local/appname. Then all of the binaries (bin and sbin) and including libraries & includes are all there with 'lib' and 'include' directory names.
Even they are there installed, you will still need to add that path in /etc/ld.so.conf to enable the dynamic linker to find it on the cache. # echo /usr/local/appname/lib >> /etc/ld.so.conf # ldconfig |
Try ldd /path/to/libgvc.so.3 and check to make sure that it is in /etc/ld.so.conf. If you need to add it to ld.so.conf run ldconfig afterwards. Run ldconfig -p to see what libraries are linked.
|
I don't know if you're still trying to get around this problem, but I ran into the same thing. In order to fix it, I had to make some symlinks. Once I did that, the make install worked fine.
Here are the symlinks I had to make: Code:
ln -s /usr/local/lib/libgvc.so.3 /usr/lib/ |
All times are GMT -5. The time now is 12:35 PM. |