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

Building heimdal-0.4c with openssl



Hi

Has anyone actually been able to build heimdal-0.4c on redhat 6.2?
I can't get it to compile.

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast 
-Wmissing-declarations -Wnested-externs -g -O2 -o .libs/verify_krb5_conf 
verify_krb5_conf.o  ./.libs/libkrb5.so 
/usr/src/redhat/BUILD/heimdal-0.4c/lib/des/.libs/libdes.so -lresolv 
/usr/src/redhat/BUILD/heimdal-0.4c/lib/asn1/.libs/libasn1.so 
/usr/src/redhat/BUILD/heimdal-0.4c/lib/roken/.libs/libroken.so 
../../lib/des/.libs/libdes.so ../../lib/asn1/.libs/libasn1.so 
/usr/src/redhat/BUILD/heimdal-0.4c/lib/com_err/.libs/libcom_err.so 
../../lib/vers/.libs/libvers.al ../../lib/roken/.libs/libroken.so -lcrypt 
-ldb -Wl,--rpath -Wl,/usr/heimdal/lib
./.libs/libkrb5.so: undefined reference to `RAND_write_file'
./.libs/libkrb5.so: undefined reference to `RAND_add'
./.libs/libkrb5.so: undefined reference to `RAND_egd_bytes'
./.libs/libkrb5.so: undefined reference to `RAND_file_name'
./.libs/libkrb5.so: undefined reference to `RAND_status'
./.libs/libkrb5.so: undefined reference to `RAND_bytes'
collect2: ld returned 1 exit status
make[2]: *** [verify_krb5_conf] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/heimdal-0.4c/lib/krb5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/heimdal-0.4c/lib'
make: *** [all-recursive] Error 1

So, we need to include libcrypto from openssl. Is this the fault of my 
system, or configure?

These are the versions of different software I use.

# rpm -q autoconf automake libtool make openssl gcc binutils
autoconf-2.52-1
automake-1.4p5-1
libtool-1.4-8
make-3.79.1-5
openssl-0.9.6-ximian.5
gcc-2.96-85
binutils-2.10.1.0.2-2

Thanks
/Peter
-- 
Peter Ehlin             Systems developer/administrator
Voxi AB                 Box 16286, SE-10325 Stockholm, Sweden
Phone: +46 8 453 9057   Mobile: +46 70 180 9057
Email: pelin@voxi.se    Web: www.voxi.se