[24404] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Can't find libgcc after building 1.4.1

daemon@ATHENA.MIT.EDU (Wyllys Ingersoll)
Thu Aug 4 08:59:37 2005

Message-ID: <42F21130.3090906@sun.com>
Date: Thu, 04 Aug 2005 08:59:28 -0400
From: Wyllys Ingersoll <wyllys.ingersoll@sun.com>
MIME-Version: 1.0
To: Mike Friedman <mikef@ack.berkeley.edu>
In-Reply-To: <20050803165223.D6125@malcolm.berkeley.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
cc: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu

Mike Friedman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have an update to my earlier posting, because it was in error. (For 
> one thing, after setting LD_LIBRARY_PATH in my configure script and 
> compiling, I inadvertently tried the 'make install' without first 
> becoming root).
> 
> Actually, these are my symptoms:
> 
> o  I build and install krb5-1.4.1 (this is Solaris 9)
> 
> o As root, I find that when I run the installed kinit, I get this message:
> 
>    ld.so.1: kinit: fatal: libgcc_s.so.1: open failed: No such file or 
> directory
> 
> However, when I exit from my root shell, as my own userid, I don't get 
> that error message.  Similarly, under my own userid, ldd shows 
> everything as OK;  in particular, I get this entry:
> 
>    libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
> 
> whereas, as root, ldd shows this:
> 
>    ...
>    libgcc_s.so.1 =>         (file not found)
>    libgcc_s.so.1 =>         (file not found)
>    libgcc_s.so.1 =>         (file not found)
>    libgcc_s.so.1 =>         (file not found)
>    libgcc_s.so.1 =>         (file not found)
>    libgcc_s.so.1 =>         (file not found)
>    ...
> 
> So, why the error in resolving libgcc only when I'm root? (And why the 
> multiple 'not found' messages?).

Because root has a different, more restricted, default library path than
your normal user.  Check the value of $LD_LIBRARY_PATH when you are
'root' and compare to the same value when you are not root.

-Wyllys

> 
> Mike
>
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post