Can't find libgcc after building 1.4.1

Mike Friedman mikef at ack.Berkeley.EDU
Thu Aug 4 12:58:42 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 4 Aug 2005 at 10:59 (-0500), Douglas E. Engert wrote:

> It sounds like you are building Kerberos in one directory and then 
> installing into a different directory, but then copying it to some other 
> directory.

Douglas,

Not quite.  I build in one directory, with 'prefix' set to a different, 
version-dependent, directory, in this case '/usr/local/krb5-1.4.1', to 
which I then symlink '/usr/local/kerberos'.  This allows me to build new 
versions on the production KDC and then cut over merely by switching 
symlinks.  But I don't *copy* the installed binaries from the prefix 
directory to anywhere else.  In other words, '/usr/local/kerberos' is 
always just a symlink to the current production Kerberos directory.

> Other options:
>
>  try the gcc  option of -static-libgcc
>
>  make sure libgcc_s.so is installed in /usr/lib

I tried 'CFLAGS="-static-libgcc", but this didn't work either, perhaps 
because on this system libgcc_s.so is installed in /usr/local/lib, not in 
/usr/lib.

So, as I said earlier, rather than spend much more time on this, I think 
I'll just build with static libraries, as I've been doing for years.

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/AwUBQvJJRq0bf1iNr4mCEQIKqQCeL/1DwdThe1Vb4/hMBpbGnyVL4boAn0cU
p5ixSs0ht2hXEAmZHdQOTikN
=Fk9S
-----END PGP SIGNATURE-----


More information about the Kerberos mailing list