|
From: | Jason Arbuthnot |
Subject: | CFEngine compilation errors |
Date: | Thu, 17 Jul 2003 13:18:57 -0400 |
Hello all,
I'm trying to install cfengine for the first time and I am gettings some bizarre errors when I issue the make command.
I use the following configure:
./configure --prefix=/var/cfengine --with-berkeleydb=/usr/local/BerkeleyDB.4.1 --with-openssl=/usr/local/ssl
It does seem to locate the newly installed berkeleydb and ssl:
(configure output)
--------------------------------------------
checking for BerkeleyDB location... /usr/local/BerkeleyDB.4.1
checking Berkeley DB Version... 4.1.25 OK
checking Berkeley DB API... 4.1.25 OK
checking for db_create in -ldb... yes
checking for OpenSSL location... /usr/local/ssl
checking OpenSSL Version... OK
checking for main in -lcrypto... yes
checking for main in -lrx... no
The below is the make error:
---------------------------------------------
ld: warning: file /usr/local/ssl/lib/libcrypto.a(bn_lib.o): wrong ELF class: ELFCLASS64
Undefined first referenced
symbol in file
RSA_public_encrypt proto.o
EVP_DigestFinal checksums.o
EVP_DigestUpdate checksums.o
BN_rand proto.o
RSA_print_fp proto.o
RAND_load_file crypto.o
BN_new proto.o
RSA_private_decrypt proto.o
RAND_seed crypto.o
EVP_DecryptFinal client.o
EVP_EncryptFinal crypto.o
BN_bn2mpi proto.o
EVP_EncryptInit crypto.o
RAND_status crypto.o
ERR_reason_error_string proto.o
EVP_DecryptUpdate client.o
EVP_bf_cbc client.o
BN_mpi2bn proto.o
OpenSSL_add_all_algorithms cfagent.o
PEM_write_RSAPublicKey crypto.o
EVP_EncryptUpdate crypto.o
EVP_get_digestbyname checksums.o
RSA_free proto.o
EVP_DecryptInit client.o
EVP_DigestInit checksums.o
BN_free proto.o
RSA_new proto.o
RAND_bytes cfagent.o
BN_num_bits proto.o
PEM_read_RSAPublicKey crypto.o
PEM_read_RSAPrivateKey crypto.o
ERR_load_crypto_strings cfagent.o
EVP_CIPHER_CTX_init client.o
EVP_CIPHER_CTX_cleanup client.o
ERR_get_error proto.o
ld: fatal: Symbol referencing errors. No output written to cfagent
*** Error code 1
make: Fatal error: Command failed for target `cfagent'
Current working directory /local/users/root/temp/cfengine-2.0.7p3/src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /local/users/root/temp/cfengine-2.0.7p3/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
-------------------------------------------------
If someone could shed light on this matter, it would be appreciated.
cfengine ver: cfengine-2.0.7p3
ssl: openssl-0.9.7b
berkeleydb: db-4.1.25
os: SunOS 5.8 Generic_108528-18 sun4u sparc SUNW,Ultra-5_10
Thank you,
Jason
[Prev in Thread] | Current Thread | [Next in Thread] |