Compiling 1.5.3 or 1.6.1 on Solaris 5.9

Tom Yu tlyu at MIT.EDU
Thu Jul 5 18:57:03 EDT 2007


>>>>> "bbense" == Booker C Bense <bbense at stanford.edu> writes:

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

What were the exact arguments you gave to the configure script, and
what were the settings (if any; ideally they are unset!) of the
environment variables CC and LD during both configure time and make
time?  Did you start with a completely clean source tree?

The configure script should detect GCC and change the shared library
build command accordingly, and in my experience it works.  The
"-shared -h libkrb5support.so.0" looks like the configure script
thought it was compiling with Sun's C compiler.

---Tom



More information about the Kerberos mailing list