Hi There, I have successfully compiled Kerberos 1.6 on Solaris 9, but I have a problem. ldd of kdb5util and other programs shows that libgcc_s is linked in. That's bad because libgcc_s is in our AFS space and I don't want cyclic dependcieswith AFS & Kerberos.
I'm using Sun's CC to compile kerberos, so I don't understand how a gcc library is creeping in. I have included my build script below. What am I doing wrong? FYI, /apps/coe/bin/cc is Sun's CC. Thanks, Jason #--------------------------------------------------------------------- #!/bin/bash SRCDIR=/afs/.uncc.edu/coe/solaris9c/src/kerberos5-1.6 TARBALL=krb5-1.6.tar.gz TARDIR=krb5-1.6 PREFIX=/usr/local/krb5 TMPDIR=/tmp/krb5-build DESTDIR=/afs/.uncc.edu/coe/solaris9c/local/krb5-16 # set compile vars export CC=cc #export LD_LIBRARY_PATH=/usr/dt/lib:/usr/openwin/lib:/usr/local/lib:/apps/coe/li b:/apps/coe-old/lib:/apps/cas/lib:/afs/uncc.edu/coe/unix/opt/ora920/home /lib export LD_LIBRARY_PATH=/usr/dt/lib:/usr/openwin/lib echo LIBDIR = $LD_LIBRARY_PATH #exit rm -fr $TMPDIR mkdir -p $TMPDIR cd $TMPDIR gtar xvfz ${SRCDIR}/${TARBALL} echo cd to $TMPDIR/$TARDIR/src cd $TMPDIR/$TARDIR/src || exit #./configure CC=cc CFLAGS=-O --prefix=$PREFIX && gmake -j12 CC="distcc /apps/coe/bin/cc" && gmake DESTDIR=$TMPDIR install #./configure CC=cc CFLAGS=-O --prefix=$PREFIX && gmake -j2 && gmake DESTDIR=$TMPDIR install ../configure CC=cc CFLAGS=-O --prefix=$PREFIX --without-krb4 --without-tcl --enable-shared --with-cc=/apps/coe/bin/cc && gmake -j12 CC="distcc /apps/coe/bin/cc" && gmake DESTDIR=$TMPDIR install # move the stuff to the right place mv $TMPDIR/$PREFIX/* $DESTDIR #----------------------------------------------------- Jason Edgecombe Solaris & Linux Administrator Mosaic Computing Group, College of Engineering UNC-Charlotte Phone: (704) 687-3514 ________________________________________________ Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos