LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   error while loading shared libraries: libgvc.so.3: cannot open shared object file (https://www.linuxquestions.org/questions/slackware-14/error-while-loading-shared-libraries-libgvc-so-3-cannot-open-shared-object-file-507821/)

coolrock 12-05-2006 11:03 PM

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

gilead 12-06-2006 03:51 PM

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?

coolrock 12-06-2006 07:20 PM

I doubt it's the graphviz problem, more like unable to retrieve nor access the shared lib problem.

gilead 12-06-2006 08:11 PM

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.

gani 12-07-2006 01:34 AM

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

xjlittle 12-13-2006 09:37 PM

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.

wheaties_box 01-17-2007 05:10 PM

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/
ln -s /usr/local/lib/libgraph.so.3 /usr/lib/
ln -s /usr/local/lib/libcdt.so.3 /usr/lib/
ln -s /usr/local/lib/libpathplan.so.3 /usr/lib/



All times are GMT -5. The time now is 12:35 PM.