LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-05-2006, 11:03 PM   #1
coolrock
Member
 
Registered: Sep 2006
Location: Singapore
Distribution: Slackware Linux
Posts: 48

Rep: Reputation: 15
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
 
Old 12-06-2006, 03:51 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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?
 
Old 12-06-2006, 07:20 PM   #3
coolrock
Member
 
Registered: Sep 2006
Location: Singapore
Distribution: Slackware Linux
Posts: 48

Original Poster
Rep: Reputation: 15
I doubt it's the graphviz problem, more like unable to retrieve nor access the shared lib problem.
 
Old 12-06-2006, 08:11 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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.
 
Old 12-07-2006, 01:34 AM   #5
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356

Rep: Reputation: 34
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
 
Old 12-13-2006, 09:37 PM   #6
xjlittle
Member
 
Registered: Aug 2003
Location: Indiana
Distribution: fc6 sles9 & 10 kubuntu ubuntu-server
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 01-17-2007, 05:10 PM   #7
wheaties_box
LQ Newbie
 
Registered: Aug 2003
Distribution: Arch
Posts: 18

Rep: Reputation: 0
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/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM
mplayer: error while loading shared libraries: libdvdread.so.3: cannot open shared ob Bruce Hill Slackware 6 12-11-2003 08:34 AM
linux init error in loading shared shared libraries akaran Linux - Software 1 05-28-2003 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration