help-cfengine
[Top][All Lists]
Advanced

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

RE: CFEngine compilation errors


From: Wheeler, John
Subject: RE: CFEngine compilation errors
Date: Thu, 17 Jul 2003 13:32:31 -0500

http://archive.develooper.com/address@hidden/msg00033.html

 

is it possible that either make is trying to build 32 bit, or another library your using/requiring is 32 bit?

 

 

-----Original Message-----
From: Jason Arbuthnot [mailto:address@hidden
Sent:
Thursday, July 17, 2003 1:19 PM
To: Wheeler, John
Subject: RE: CFEngine compilation errors

 

Thanks for the quick reply, here's the output:

64-bit sparcv9 kernel modules

 

When I ran configure when installing openssl I used :   ./Configure solaris64-sparcv9-cc

as the docs suggested.

-----Original Message-----
From: Wheeler, John [mailto:address@hidden
Sent:
July 17, 2003 2:15 PM
To: Arbuthnot, Jason [CAR:R213:EXCH]
Cc: address@hidden
Subject: RE: CFEngine compilation errors

# isainfo -kv

64-bit sparcv9 kernel modules

 

Maybe your kernel is running in 32 bit mode but you down loaded a 64 bit openssl pkg?

 

what does isainfo -kv say for you?

 

-----Original Message-----
From: Jason Arbuthnot [mailto:address@hidden
Sent:
Thursday, July 17, 2003 12:19 PM
To: 'address@hidden'
Subject: CFEngine compilation errors

 

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]