Can't find libgcc after building 1.4.1
Douglas E. Engert
deengert at anl.gov
Thu Aug 4 12:19:34 EDT 2005
Other options:
try the gcc option of -static-libgcc
make sure libgcc_s.so is installed in /usr/lib
Mike Friedman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 4 Aug 2005 at 14:31 (+0200), vadim wrote:
>
>> 2) set env variable LDFLAGS="-R/usr/local/lib" for configure, i.e.
>> execute configure like
>>
>> LDFLAGS="-R/usr/local/lib" ./configure --bla-bla
>
>
> Vadim,
>
> I was sure I had tried that yesterday, with no success. Just to make
> sure, however, I did it again this morning. But ldd still shows me the
> following for kinit:
>
> libkrb4.so.2 => /usr/local/krb5-1.4.1/lib/libkrb4.so.2
> libdes425.so.3 => /usr/local/krb5-1.4.1/lib/libdes425.so.3
> libkrb5.so.3 => /usr/local/krb5-1.4.1/lib/libkrb5.so.3
> libk5crypto.so.3 => /usr/local/krb5-1.4.1/lib/libk5crypto.so.3
> libcom_err.so.3 => /usr/local/krb5-1.4.1/lib/libcom_err.so.3
> libkrb5support.so.0 => /usr/local/krb5-1.4.1/lib/libkrb5support.so.0
> libresolv.so.2 => /usr/lib/libresolv.so.2
> libsocket.so.1 => /usr/lib/libsocket.so.1
> libnsl.so.1 => /usr/lib/libnsl.so.1
> libc.so.1 => /usr/lib/libc.so.1
> 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)
> libdl.so.1 => /usr/lib/libdl.so.1
> libmp.so.2 => /usr/lib/libmp.so.2
> /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
>
> Walt Howard said,
>
>> Solaris may be using ld.so (based on your error message) in which case
>> there is a good chance that /etc/ld.so.conf contains a list of
>> directories that are loaded at boot time, and that a program called
>> ldconfig can be used to change it without rebooting.
>
>
> The Solaris 9 system I'm using has no /etc/ld.so.conf and, as far as I
> can tell, no ldconfig program.
>
> So, at this point, I think I'm just going to build with static libraries
> (-disable-shared --enable-static), which is what I've been doing anyway
> for the past 5 years on previous MIT-K5 releases.
>
> Thanks.
>
> Mike
>
> _____________________________________________________________________
> Mike Friedman System and Network Security
> mikef at ack.Berkeley.EDU 2484 Shattuck Avenue
> 1-510-642-1410 University of California at Berkeley
> http://ack.Berkeley.EDU/~mikef http://security.berkeley.edu
> _____________________________________________________________________
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.8
>
> iQA/AwUBQvI5J60bf1iNr4mCEQK7PwCeMwB6yQauYzNbJeBlKjPDbxLITksAoKfG
> BtIHHzxgBxTNmSQWGDgrw9Ur
> =Bciz
> -----END PGP SIGNATURE-----
> ________________________________________________
> Kerberos mailing list Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
>
>
>
--
Douglas E. Engert <DEEngert at anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
More information about the Kerberos
mailing list