-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 31 Jul 2005 at 12:40 (-0700), Russ Allbery wrote:
Mike Friedman <[EMAIL PROTECTED]> writes:
Thanks, that fixed it! I must say, I didn't even know about the -R
option to gcc and can't find it in the gcc man page. What does -R do
anyway?
I had just assumed that the '-L/usr/local/kerberos/lib' would be
sufficient to tell the linker where to find the libraries. Why did
only libk5crypto have a problem and not, for example, libkrb5?
<http://www.eyrie.org/~eagle/notes/rpath.html> tries to explain all
this. I'm pretty sure it was complaining specifically about k5crypto
just because it was first and would have had trouble with the others as
well.
Russ,
Actually, it's a bit scarier than that. When I first had the problem, I
used ldd to see which shared libraries were needed or expected by my
module. And only libk5crypto showed as 'not found'. There was an entry
for libkrb5. However, what I didn't notice was that the latter was the
version in /usr/lib, which comes installed with FreeBSD and is not the MIT
version. That's why I say 'scary', because if not for the missing
libk5crypto, I might never have noticed that I wasn't using the correct
libkrb5 either. Whether or not this would have caused more subtle
problems later I can't really say.
Anyway, thanks for the pointer to info about -R. I now see that -R
appears in the Makefiles used in the MIT K5 build as well.
Mike
_____________________________________________________________________
Mike Friedman System and Network Security
[EMAIL PROTECTED] 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/AwUBQu04Ha0bf1iNr4mCEQJczACgniFFhu3Z3OLlN+QO+jXhedv2h9MAoN0B
9YEgYX67eXXSxVm87mBm2E3Y
=/lnf
-----END PGP SIGNATURE-----
________________________________________________
Kerberos mailing list [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos