[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: heimdal misbuilds on AIX when kth-krb installed



On Tuesday, December 19, 2000 04:36:52 PM +1100, Brian May 
<bam@snoopy.apana.org.au> wrote:
+-----
| Please show us the command line where it fails...
+--->8

Note:  Of course there are references to -lkrb -ldes:  heimdal needs access 
to the krb4 libs.  That doesn't mean it should link to them preferentially, 
and it's pretty clear that that wasn't the intended result.  Also note that 
the link works fine on our other systypes, all of which have kth-krb in 
/usr/local.

/bin/sh ../../libtool --mode=link gcc-2.95 -I/usr/local/berkeleydb/include 
-L/usr/local/berkeleydb/lib  -Wall -Wmissing-prototypes -Wpointer-arith 
-Wbad-function-cast -Wmissing-declarations -Wnested-externs -include 
/afs/.ece.cmu.edu/support/heimdal/0.3d/src/configure-hack.h -g    -o 
verify_krb5_conf  verify_krb5_conf.o libkrb5.la -rpath /usr/local/lib 
-L/usr/local/lib -lkrb ../../lib/des/libdes.la ../../lib/asn1/libasn1.la 
../../lib/vers/libvers.la ../../lib/roken/libroken.la  -ldb -lbind  -ldb2
gcc-2.95 -I/usr/local/berkeleydb/include -Wall -Wmissing-prototypes 
-Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs 
-include /afs/.ece.cmu.edu/support/heimdal/0.3d/src/configure-hack.h -g -o 
verify_krb5_conf verify_krb5_conf.o  -L/usr/local/berkeleydb/lib -L./.libs 
-lkrb5 -L/usr/local/lib 
-L/afs/.ece.cmu.edu/support/heimdal/0.3d/src/heimdal-0.3d/lib/des/.libs 
-L/afs/.ece.cmu.edu/support/heimdal/0.3d/src/heimdal-0.3d/lib/asn1/.libs 
-L/afs/.ece.cmu.edu/support/heimdal/0.3d/src/heimdal-0.3d/lib/roken/.libs 
-lkrb -L../../lib/des/.libs -ldes -L../../lib/asn1/.libs -lasn1 
../../lib/vers/.libs/libvers.a -L../../lib/roken/.libs -lroken -ldb -lbind 
-ldb2 -L/usr/local/lib
ld: 0711-317 ERROR: Undefined symbol: .RC4_set_key
ld: 0711-317 ERROR: Undefined symbol: .MD4Init
ld: 0711-317 ERROR: Undefined symbol: .MD4Update
ld: 0711-317 ERROR: Undefined symbol: .MD4Final
ld: 0711-317 ERROR: Undefined symbol: .SHA1Init
ld: 0711-317 ERROR: Undefined symbol: .SHA1Update
ld: 0711-317 ERROR: Undefined symbol: .SHA1Final
ld: 0711-317 ERROR: Undefined symbol: .RC4
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
information.
collect2: ld returned 8 exit status
make[2]: *** [verify_krb5_conf] Error 1
make[2]: Leaving directory 
`/afs/.ece.cmu.edu/support/heimdal/0.3d/src/heimdal-0.3d/lib/krb5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/afs/.ece.cmu.edu/support/heimdal/0.3d/src/heimdal-0.3d/lib'
make: *** [all-recursive] Error 1

Using -Wl,-bloadmap:loadmap.out reveals that it is using -ldes and -lroken 
from /usr/local/lib.

-- 
brandon s. allbery     [os/2][linux][solaris][japh]    allbery@kf8nh.apk.net
system administrator        [WAY too many hats]          allbery@ece.cmu.edu
electrical and computer engineering                                    KF8NH
carnegie mellon university      ["better check the oblivious first" -ke6sls]