View Issue Details

IDProjectCategoryView StatusLast Update
0001014unrealinstallingpublic2003-11-20 19:43
Reporterbigchief Assigned Tosyzop  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version3.2-beta16 
Summary0001014: cannot compile using OpenSSL 0.9.7b
Descriptionwhen trying to do a make the follow error occurs.

random.o: In function `init_random':
/home/knogle/src/Unreal/src/random.c:131: undefined reference to `RAND_query_egd_bytes'
collect2: ld returned 1 exit status

$ openssl version
OpenSSL 0.9.7b 10 Apr 2003

it's the only openssl version on the box - I do not have root on the box (if I did it'd be FreeBSD :).
Steps To Reproducesetup box with OSSL 0.9.7b - do ./Config, enable SSL and do make
Attached Files
config.log (43,536 bytes)
strace.log (480,725 bytes)
strace.log (795,490 bytes)
3rd party modules

Activities

codemastr

2003-06-01 19:57

reporter   ~0002913

Can you upload your config.log?

bigchief

2003-06-01 20:00

reporter   ~0002914

there you go :)

syzop

2003-06-01 20:02

administrator   ~0002915

Last edited: 2003-06-01 20:05

Ok,

since I still believe it's something with mixing header/lib files.. let's trace it...
do a 'make' again and then when you get the error you said above run these 2 commands:
--
strace -f -F -o strace.log make
grep opensslv strace.log
--
and paste the output the last command gives.

[Hmm I didn't see those 2 comments above when I addded my bugnote ;pp]

edited on: 06-01-03 20:05

bigchief

2003-06-01 20:25

reporter   ~0002916

it didn't seem to output anything useful - but I uploaded the file so you can see what it has

syzop

2003-06-01 20:52

administrator   ~0002917

Oh, sorry, do this first:
rm src/random.o
between the real 'make' and the 2 commands

bigchief

2003-06-01 22:26

reporter   ~0002918

there you go

syzop

2003-06-01 22:41

administrator   ~0002919

What do these 2 commands give?:
grep VERSION_TEXT /usr/include/openssl/opensslv.h
strings /usr/lib/libcrypto.so|grep -i "openssl 0"

bigchief

2003-06-02 07:40

reporter   ~0002920

$ grep VERSION_TEXT /usr/include/openssl/opensslv.h
#define OPENSSL_VERSION_TEXT "OpenSSL 0.9.7b 10 Apr 2003"
#define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT
$ strings /usr/lib/libcrypto.so|grep -i "openssl 0"
OpenSSL 0.9.6b [engine] 9 Jul 2001
MD2 part of OpenSSL 0.9.6b [engine] 9 Jul 2001
MD4 part of OpenSSL 0.9.6b [engine] 9 Jul 2001
MD5 part of OpenSSL 0.9.6b [engine] 9 Jul 2001
SHA part of OpenSSL 0.9.6b [engine] 9 Jul 2001
SHA1 part of OpenSSL 0.9.6b [engine] 9 Jul 2001
RIPE-MD160 part of OpenSSL 0.9.6b [engine] 9 Jul 2001
libdes part of OpenSSL 0.9.6b [engine] 9 Jul 2001
DES part of OpenSSL 0.9.6b [engine] 9 Jul 2001
RC2 part of OpenSSL 0.9.6b [engine] 9 Jul 2001
RC4 part of OpenSSL 0.9.6b [engine] 9 Jul 2001
Blowfish part of OpenSSL 0.9.6b [engine] 9 Jul 2001
CAST part of OpenSSL 0.9.6b [engine] 9 Jul 2001
Big Number part of OpenSSL 0.9.6b [engine] 9 Jul 2001
RSA part of OpenSSL 0.9.6b [engine] 9 Jul 2001
DSA part of OpenSSL 0.9.6b [engine] 9 Jul 2001
Diffie-Hellman part of OpenSSL 0.9.6b [engine] 9 Jul 2001
Stack part of OpenSSL 0.9.6b [engine] 9 Jul 2001
lhash part of OpenSSL 0.9.6b [engine] 9 Jul 2001
RAND part of OpenSSL 0.9.6b [engine] 9 Jul 2001
EVP part of OpenSSL 0.9.6b [engine] 9 Jul 2001
ASN.1 part of OpenSSL 0.9.6b [engine] 9 Jul 2001
PEM part of OpenSSL 0.9.6b [engine] 9 Jul 2001
X.509 part of OpenSSL 0.9.6b [engine] 9 Jul 2001
CONF part of OpenSSL 0.9.6b [engine] 9 Jul 2001
CONF_def part of OpenSSL 0.9.6b [engine] 9 Jul 2001
TXT_DB part of OpenSSL 0.9.6b [engine] 9 Jul 2001

Looks like you might have found the problem - do you have any idea what part of the linux system I should tell the admins to update ?

syzop

2003-06-02 14:00

administrator   ~0002921

Tell them the openssl libs (or at least /usr/lib/libcrypto.so) is version 0.9.6b while the rest (header files, openssl binary) are 0.9.7b :p.

Issue History

Date Modified Username Field Change
2003-06-01 18:27 bigchief New Issue
2003-06-01 19:57 codemastr Note Added: 0002913
2003-06-01 20:00 bigchief File Added: config.log
2003-06-01 20:00 bigchief Note Added: 0002914
2003-06-01 20:02 syzop Note Added: 0002915
2003-06-01 20:05 syzop Note Edited: 0002915
2003-06-01 20:24 bigchief File Added: strace.log
2003-06-01 20:25 bigchief Note Added: 0002916
2003-06-01 20:52 syzop Note Added: 0002917
2003-06-01 22:26 bigchief File Added: strace.log
2003-06-01 22:26 bigchief Note Added: 0002918
2003-06-01 22:41 syzop Note Added: 0002919
2003-06-02 07:40 bigchief Note Added: 0002920
2003-06-02 14:00 syzop Status new => resolved
2003-06-02 14:00 syzop Resolution open => fixed
2003-06-02 14:00 syzop Assigned To => syzop
2003-06-02 14:00 syzop Note Added: 0002921
2003-11-20 19:43 syzop Status resolved => closed