[28015] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Compiling 1.5.3 or 1.6.1 on Solaris 5.9

daemon@ATHENA.MIT.EDU (Tom Yu)
Thu Jul 5 18:57:17 2007

To: "Booker C. Bense" <bbense@stanford.edu>
From: Tom Yu <tlyu@mit.edu>
Date: Thu, 05 Jul 2007 18:57:03 -0400
In-Reply-To: <F28BE57B-4A38-4165-AF26-B92C6114C5EA@stanford.edu> (Booker C.
	Bense's message of "Thu, 5 Jul 2007 15:37:10 -0700")
Message-ID: <ldvr6nmwjb4.fsf@cathode-dark-space.mit.edu>
MIME-Version: 1.0
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

>>>>> "bbense" == Booker C Bense <bbense@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
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post