Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 29th, 2003, 07:13 PM
social worker social worker is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Estonia, Tartu
Posts: 7 social worker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ldconfig claims that ld.so.conf is not found - while it is there

Hi!

I have a Redhat 8 box and it all started when I wanted to install Lexmark printer drivers. It needed enscript, so I downloaded, installed it. Put it's path /usr/local/bin into /etc/ld.so.conf file and run ldconfig. While Lexmark drivers still claimed that I have no enscript, I assumed that something went wrong. So I ran:
/sbin/ldconfig -v
and found out that the line below /usr/local/bin was empty, while there were something below every other line:
/usr/lib/sane:
libsane.so.1 -> libsane-v4l.so.1.0.8
/usr/local/bin:
/lib/i686: (hwcap: 0x8000000000000)
libm.so.6 -> libm-2.3.2.so


So, I RTFM and made a decision that i must run:
/sbin/ldconfig -vr /usr/local/bin
to make sure that the path is properly "registered"

Now I'm totally confused, cause it told me, while i was running it as root, that there is no such directory(while that certainly is there) and also many other interesting things:
[root@inglike etc]# /sbin/ldconfig -vr /usr/local/bin/
/sbin/ldconfig: Can't stat /lib: No such file or directory
/sbin/ldconfig: Can't stat /usr/lib: No such file or directory
/sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: No such file or directory


Well, I am a Linux beginner and I have no clue what to do next. I found similar problems with google, but no solutions. Still, i'd like to keep using Linux and finally install my printer :) Maybe I'm doing something wrong or my system has some problems... although it's fresh Redhat install.

So if any of you have even a very slight cue about the problem or a part of it, I'd greatly appreciate.

Reply With Quote
  #2  
Old March 30th, 2003, 09:53 AM
telex4's Avatar
telex4 telex4 is offline
Wacky hack
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 512 telex4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 29 sec
Reputation Power: 8
Why are you running ldconfig on /usr/local/bin? ldconfig scans directories for library files, whereas you put binaries (programs) into /usr/local/bin. If you've installed enscript into /usr/local, then you'll want to point ldconfig at /usr/local/lib.

Besides, you really should put enscript into /usr, not /usr/local. Are you installing this from an RPM, or from source, or some other method?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > ldconfig claims that ld.so.conf is not found - while it is there


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT