|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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? |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > ldconfig claims that ld.so.conf is not found - while it is there |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|