Compiling 1.5.3 or 1.6.1 on Solaris 5.9

Booker C. Bense bbense at stanford.edu
Thu Jul 5 18:37:10 EDT 2007


I've been pulling my hair out over this for a couple hours and I  
can't see forest for trees at this
point. Both version fail to compile libkrb5support.so.0.1 with this  
error

+ gcc -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align - 
Wconversion -Wshadow -pedantic
-shared -h libkrb5support.so.0 -o libkrb5support.so.0.1 threads.so  
init-addrinfo.so plugins.so
errors.so gmt_mktime.so fake-addrinfo.so -R/afs/slac.stanford.edu/ 
package/krb5/1.5.3/sun4x_59/lib
-lresolv -lsocket -lnsl -ldl
ld: fatal: file libkrb5support.so.0: open failed: No such file or  
directory
collect2: ld returned 1 exit status

I am using gcc 3.2.3 and the only odd thing I can see is the

-shared -h libkrb5support.so.0

option. Documentation on what -h actually does seems sparse... It  
certainly doesn't do
what is listed in the man page.

_ Booker C. Bense



More information about the Kerberos mailing list