up2date vs. /etc/ld.so.conf

plug-discuss@lists.plug.phoenix.az.us plug-discuss@lists.plug.phoenix.az.us
Mon, 28 Apr 2003 09:47:11 -0600 (CST)


On Mon, 28 Apr 2003, Jeffrey Pyne wrote:

> So, I decided I wanted to give CUPS a try on my RedHat 8.0 system yesterday.
> I ran "up2date cups" and it looked like up2date did its thing like it always
> does.  But when I tried running lpadmin, I got an error about not being able
> to find a shared library (libkrb5.so.3, IIRC).  "Huh, that's odd," thought
> I.  Then I realized that other things were b0rken, too, complaining about
> not being able to find various shared libraries.  So I tried to cat
> /etc/ld.so.conf... and it was missing!  I tried manually recreating the
> file, but I couldn't-- even as root.  (I believe "Permission denied" or "I/O
> error" was the message I got.)  I ended up having to boot into single luser
> mode and "rm -f /etc/ld.so.conf" (even though ls showed that it didn't
> exist), and then manually recreate it. 
> 
> So 2 questions:
> 
> 1) There are a few things that still don't seem to work.  I added in the
> libraries I could think of off the top of my head (/lib, /usr/lib,
> /usr/X11R6/lib, /usr/kerberos/lib), but I'm pretty sure I'm still missing a
> bunch.  Could some kind soul send me the contents of their /etc/ld.so.conf
> from a RedHat 8.0 system (with Gnome and KDE installed) so I can add the
> rest of the lib directories I seem to be missing?
> 
> 2) Has anyone ever seen anything like this before?  My friend Google tells
> me that similar behavior can occur when installing Sybase RPMs, but I was
> using up2date to install CUPS.  One would think this would be a pretty safe
> operation.
> 
> TIA,
> 
> ~Jeff


sigh.   here come the "use (debian|slackware|gentoo|anything-non-RH)" and 
"thats why I hate RH" and "welcome to RPM hell" replies.  :)   

anywho:

[david@sapporo david]$ cat /etc/ld.so.conf
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-3.0.5/lib
/usr/lib/sane
/usr/local/lib


david



> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 

-- 
"I find your lack of faith disturbing."
--Darth Vader
---
  9:40am  up 27 days, 17:20,  1 user,  load average: 0.00, 0.00, 0.00