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 05-21-2006, 11:01 AM   #1
gbowden
Member
 
Registered: Dec 2003
Location: Spain
Distribution: Slackware 14.1 64bit - multilib
Posts: 148

Rep: Reputation: 28
ldconfig /usr/local/lib/ is not a symbolic link


I get the following error when running ldconfig.

/sbin/ldconfig: /usr/local/lib/ is not a symbolic link

What does this mean, and how can I stop this error from happening again?

Thanks.
 
Old 05-21-2006, 03:20 PM   #2
Douwe
Member
 
Registered: Jun 2002
Location: the Netherlands
Distribution: Slackware, Zenwalk
Posts: 38

Rep: Reputation: 15
if I do in a terminal:
$ file /usr/local/lib
/usr/local/lib: directorie
also it is not a symbolic link.
However I do not have an errormsg as you have.

Also: something with your loadconfig must be wrong.
read the manual.
$ man ldconfig
check the config file for ldconfig. it is called /etc/ld.so.conf
Of course there should be no dirs mentioned twice, beware of symbolic links.

If the question is that you don't know what a symbolic link is:
read at the slackware site the 'book', or some other introduction in Linux.

Sometimes, if you build a program yourself after having download the tarball, it says you that you have to adapt the /etc/ld.so.conf file.
If you issue
# make install
a msg is issued on the screen...
This flies over the screen and you easily miss it.
#make install 2>&1 | tee reportfile
gives you all the stuff in a file too, which can be seen with less.
this too could be the source of your problems.

These are some thoughts, perhaps you have another problem....
 
Old 05-21-2006, 08:10 PM   #3
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
post your /etc/ld.so.conf file
maybe we can see an error in it.......
 
Old 05-21-2006, 08:15 PM   #4
gbowden
Member
 
Registered: Dec 2003
Location: Spain
Distribution: Slackware 14.1 64bit - multilib
Posts: 148

Original Poster
Rep: Reputation: 28
Ok here is the output of ld.so.conf:
$cat /etc/ld.so.conf
/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
/usr/lib
/usr/local/lib/mplayer/vidix
 
  


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
symbolic link between mozilla plugins and /usr/local/java TSynergy Linux - Newbie 3 04-15-2006 03:17 PM
/sbin/ldconfig: /usr/lib/libgtkhtml-3.0.so.2 is not a symbolic link rosariowong Slackware 13 04-29-2005 03:41 PM
IdConfig: /usr/lib/.... is not a symbolic link. _tomMmy_ Linux - Software 0 08-23-2004 07:12 AM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 09:21 AM
ldconfig-symbolic link comprookie2000 Slackware 5 07-04-2004 02:42 PM

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

All times are GMT -5. The time now is 08:14 PM.

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