building with shared krb* libriaries fails
Björn Torkelsson
torkel at acc.umu.se
Thu Aug 2 14:12:12 CEST 2001
Building arla (0.35.5) with both kth-krb and heimdal builded with shared
libraries on Debian unstable (updated this morning) fails with:
modesty[test]$ ./configure --with-krb4=/lap/kerberos4 --with-krb5=/lap/kerberos5
modesty[test]$ make
...
gcc -c -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/arla/etc\" -DARLACACHEDIR=\"/usr/arla/cache\" -DARLACONFFILE=\"/usr/arla/etc/arla.conf\" -DHAVE_CONFIG_H -DARLAOS=\"linux-gnu\" -DARLAVENDOR=\"pc\" -DARLACPU=\"i686\" -I. -I. -I../../include -I./../../include -I../.. -I./../.. -I../../rxdef -I../../include -I/lap/kerberos4/include -g -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs gensysname.c
gcc -o gensysname gensysname.o agetarg.o -L../../util -lutil -L../../lib/roken -lroken -L/lap/kerberos4/lib -lkrb -ldes -lresolv
./gensysname -c > sysname.c
./gensysname: error while loading shared libraries: libkrb.so.1: cannot open shared object file: No such file or directory
make[1]: *** [sysname.c] Error 127
make[1]: Leaving directory `/lap/arla/0.35.5/src/arla-0.35.5/test/lib/ko'
make: *** [all] Error 1
modesty[test]$ ldd lib/ko/gensysname
libkrb.so.1 => not found
libdes.so.1 => not found
libresolv.so.2 => /lib/libresolv.so.2 (0x40021000)
libc.so.6 => /lib/libc.so.6 (0x40032000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
/torkel
More information about the Arla-drinkers
mailing list