[Samba] krb5-1.4.3 & Solaris 8

David Michaels dragon at raytheon.com
Thu Apr 20 18:57:20 GMT 2006

Has anyone managed to get krb5-1.4.3 to compile on Solaris 8?

My compile fails because it can't find freeifaddrs or getifaddrs, using gcc.

making all in lib/rpc/unit-test...
gmake[3]: Entering directory 
gcc -L../../../lib -R/usr/local/testsamba/kerberos/lib -g -O2 -Wall 
-Wmissing-prototypes -Wcast-qual  -Wcast-align -Wconversion -Wshadow 
-pedantic  -o client client.o rpc_test_clnt.o \
        -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 
-lkrb5support  -lresolv -lsocket -lnsl
ld: warning: file libgcc_s.so.1: required by ../../../lib/libgssrpc.so, 
not found
Undefined                       first referenced
 symbol                             in file
freeifaddrs                         ../../../lib/libkrb5.so
getifaddrs                          ../../../lib/libkrb5.so
ld: fatal: Symbol referencing errors. No output written to client
collect2: ld returned 1 exit status

% gcc --version
gcc (GCC) 3.4.2

I've you've succeeded, can you send me your ./configure line, and 
relevant environment variables you may have set?


More information about the samba mailing list