[Date Prev][Date Next] [Chronological] [Thread] [Top]

Having a tough time installing OpenLDAP 2.1.30



Hi,
 
I get  "ld: fatal: Symbol referencing errors" when i run make.
 
I am on sparc 8 and have the following environment set:
 
# echo $LD_LIBRARY_PATH
/usr/lib:/lib:/usr/local/lib:/usr/local/ssl/lib:/usr/heimdal/lib:/usr/local/BerkeleyDB.4.2
/lib:/usr/local/lib/sasl2:/opt/sfw/lib:/opt/netscape7/SUNWns
# echo $LIBS
-lcrypto -lssl -lsasl2
# echo $CPPFLAGS
-I/usr/lib -I/usr/local/lib -I/usr/local/ssl/include -I/usr/lib/sasl2 -I/usr/local/Berkele
yDB.4.2/include
# echo $LDFLAGS
-L/usr/lib -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/li
b/sasl2 -L/usr/heimdal/lib
# echo $PATH
/usr/sbin:/sbin:/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/local/samba/bin:/usr/local/ssl/b
in:/usr/heimdal/bin:/usr/local/BerkeleyDB.4.2/bin
#
 
 
Configure was done with the following options.
# ./configure --prefix=/usr/local --enable-bdb --enable-ldbm --enable-crypt --enable-spas
swd --with-threads --with-tls --with-kerberos --with-cyrus-sasl --disable-ipv6
 
make gives the following error:
...........................
...........................
...........................
 
gcc -g -O2 -o apitest apitest.o  -L/usr/lib -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/l
ocal/BerkeleyDB.4.2/lib -L/usr/lib/sasl2 -L/usr/heimdal/lib ./.libs/libldap.a /opt/mallik/
downloads/openldap-2.1.30/libraries/liblber/.libs/liblber.a ../../libraries/liblber/.libs/
liblber.a ../../libraries/liblutil/liblutil.a -lgen -lcrypto -lssl /usr/local/lib/libsasl2
.so -ldl -lnsl -lresolv -lsocket -R/usr/local/lib -R/usr/local/lib
Undefined                       first referenced
 symbol                             in file
HMAC_Final                          /usr/local/ssl/lib/libssl.a(t1_enc.o)
EVP_rc2_cbc                         /usr/local/ssl/lib/libssl.a(ssl_algs.o)
EVP_aes_192_cbc                     /usr/local/ssl/lib/libssl.a(ssl_algs.o)
PEM_read_bio_X509                   /usr/local/ssl/lib/libssl.a(ssl_cert.o)
EVP_EncryptInit_ex                  /usr/local/ssl/lib/libssl.a(s2_enc.o)
X509_STORE_load_locations           /usr/local/ssl/lib/libssl.a(ssl_lib.o)
EVP_aes_128_cbc                     /usr/local/ssl/lib/libssl.a(ssl_algs.o)
EVP_md2                             /usr/local/ssl/lib/libssl.a(ssl_algs.o)
EVP_des_cbc                         /usr/local/ssl/lib/libssl.a(ssl_algs.o)
EVP_dss1                            /usr/local/ssl/lib/libssl.a(ssl_algs.o)
COMP_CTX_free                       /usr/local/ssl/lib/libssl.a(t1_enc.o)
PEM_read_bio_PrivateKey             /usr/local/ssl/lib/libssl.a(ssl_rsa.o)
HMAC_Init_ex                        /usr/local/ssl/lib/libssl.a(t1_enc.o)
BIO_s_socket                        /usr/local/ssl/lib/libssl.a(ssl_lib.o)
EVP_aes_256_cbc                     /usr/local/ssl/lib/libssl.a(ssl_algs.o)
X509_certificate_type               /usr/local/ssl/lib/libssl.a(s3_srvr.o)
EVP_rc4                             /usr/local/ssl/lib/libssl.a(ssl_algs.o)
EVP_CipherInit_ex                   /usr/local/ssl/lib/libssl.a(t1_enc.o)
COMP_CTX_new                        /usr/local/ssl/lib/libssl.a(t1_enc.o)
PEM_read_bio_RSAPrivateKey          /usr/local/ssl/lib/libssl.a(ssl_rsa.o)
EVP_DecryptInit_ex                  /usr/local/ssl/lib/libssl.a(s2_enc.o)
COMP_expand_block                   /usr/local/ssl/lib/libssl.a(s3_pkt.o)
ERR_load_crypto_strings             /usr/local/ssl/lib/libssl.a(ssl_err2.o)
EVP_idea_cbc                        /usr/local/ssl/lib/libssl.a(ssl_algs.o)
HMAC_CTX_cleanup                    /usr/local/ssl/lib/libssl.a(t1_enc.o)
EVP_des_ede3_cbc                    /usr/local/ssl/lib/libssl.a(ssl_algs.o)
i2d_DHparams                        /usr/local/ssl/lib/libssl.a(ssl_cert.o)
d2i_DHparams                        /usr/local/ssl/lib/libssl.a(ssl_cert.o)
EVP_CIPHER_CTX_init                 /usr/local/ssl/lib/libssl.a(t1_enc.o)
COMP_compress_block                 /usr/local/ssl/lib/libssl.a(s3_pkt.o)
BIO_f_buffer                        /usr/local/ssl/lib/libssl.a(ssl_lib.o)
HMAC_Update                         /usr/local/ssl/lib/libssl.a(t1_enc.o)
EVP_enc_null                        /usr/local/ssl/lib/libssl.a(ssl_ciph.o)
EVP_CIPHER_CTX_cleanup              /usr/local/ssl/lib/libssl.a(t1_enc.o)
DSA_verify                          /usr/local/ssl/lib/libssl.a(s3_srvr.o)
X509_STORE_set_default_paths        /usr/local/ssl/lib/libssl.a(ssl_lib.o)
HMAC_CTX_init                       /usr/local/ssl/lib/libssl.a(t1_enc.o)
ld: fatal: Symbol referencing errors. No output written to apitest
collect2: ld returned 1 exit status
make[2]: *** [apitest] Error 1
make[2]: Leaving directory `/opt/mallik/downloads/openldap-2.1.30/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/opt/mallik/downloads/openldap-2.1.30/libraries'
make: *** [all-common] Error 1
#
 
Any help is appreciated.
 
thanks,
Mallik


Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!