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

I just installed krb5-1.4.1 on my FreeBSD machine. (I had to turn off pthread support, otherwise kinit and kadmin fail).

As far as I can tell, the MIT Kerberos stuff works. However, after compiling one of my own programs that uses the MIT K5 API (and which I've been running, mostly on Solaris systems, for years), I get this message at runtime (the program is called krb5ver):

   /libexec/ld-elf.so.1: Shared object "libk5crypto.so" not found,
   required by "krb5ver"

But when I look in /usr/local/kerberos/lib, I do see libk5crypto.so as a symlink to libk5crypto.so.3, which does exist in the same directory.

Here's the Makefile I use to build my program:

- 
---------------------------------------------------------------------------------------
krb5ver:
        gcc -Wall -c -I/usr/local/kerberos/include krb5ver.c
        gcc -o krb5ver krb5ver.o  -L/usr/local/kerberos/lib -lk5crypto -lkrb5 
-lcom_err
- 
---------------------------------------------------------------------------------------

I don't know if this problem represents a difference just for FreeBSD (vs Solaris), because I haven't yet tried compiling 1.4.1 on Solaris. Or whether it has something to do with the fact that the default for 1.4.1 is to build with shared libraries (I've always done static builds on Solaris with prior releases). If it's the latter, does this mean I need to do something different in the Makefile (shown above) that I'm using to build my own program?

More likely, I suspect, it's something else I'm overlooking completely.

I'd appreciate any suggestions.

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/AwUBQuz/H60bf1iNr4mCEQKqSgCgsafbbWq1zJbfcHRq+0/jraZeARAAnRlT
yvKdru8wq2bx/MkbZsCowz7w
=hEe+
-----END PGP SIGNATURE-----
________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to