Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openssl-0.9.6i weirdness
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
robbat2
Developer
Developer


Joined: 19 Feb 2003
Posts: 82

PostPosted: Fri Feb 21, 2003 2:56 am    Post subject: openssl-0.9.6i weirdness Reply with quote

Just trying to upgrade my server clusters because of the security hole in openssl, and on one of them, openssl-0.9.6i refuses to build.

Complete error:
gcc -o openssl -DMONOLITH -I../include -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -march=pentium-mmx -mcpu=pentium2 -O3 -fomit-frame-pointer -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o -L.. -lssl -L.. -lcrypto -ldl
s_server.o(.text+0x1906): In function `init_ssl_connection':
: undefined reference to `i2d_SSL_SESSION'
s_server.o(.text+0x1c3e): In function `www_body':
: undefined reference to `BIO_f_ssl'
s_cb.o(.text+0x24e): In function `set_cert_stuff':
: undefined reference to `SSL_CTX_use_certificate_file'
s_cb.o(.text+0x272): In function `set_cert_stuff':
: undefined reference to `SSL_CTX_use_PrivateKey_file'
s_cb.o(.text+0x441): In function `apps_ssl_info_callback':
: undefined reference to `SSL_alert_desc_string_long'
s_cb.o(.text+0x44b): In function `apps_ssl_info_callback':
: undefined reference to `SSL_alert_type_string_long'
s_cb.o(.text+0x4a1): In function `apps_ssl_info_callback':
: undefined reference to `SSL_state_string_long'
s_cb.o(.text+0x4da): In function `apps_ssl_info_callback':
: undefined reference to `SSL_state_string_long'
s_cb.o(.text+0x4f4): In function `apps_ssl_info_callback':
: undefined reference to `SSL_state_string_long'
sess_id.o(.text+0x2c5): In function `sess_id_main':
: undefined reference to `i2d_SSL_SESSION'
sess_id.o(.text+0x317): In function `sess_id_main':
: undefined reference to `i2d_SSL_SESSION'
sess_id.o(.text+0x6af): In function `load_sess_id':
: undefined reference to `d2i_SSL_SESSION'
sess_id.o(.text+0x71a): In function `load_sess_id':
: undefined reference to `d2i_SSL_SESSION'
../libssl.a(s2_clnt.o)(.text+0x1454): In function `client_certificate':
: undefined reference to `SSL_use_certificate'
../libssl.a(s2_clnt.o)(.text+0x1487): In function `client_certificate':
: undefined reference to `SSL_use_PrivateKey'
../libssl.a(s3_clnt.o)(.text+0x2b93): In function `ssl3_send_client_certificate':
: undefined reference to `SSL_use_certificate'
../libssl.a(s3_clnt.o)(.text+0x2bae): In function `ssl3_send_client_certificate':
: undefined reference to `SSL_use_PrivateKey'
../libssl.a(ssl_err2.o)(.text+0x18): In function `SSL_load_error_strings':
: undefined reference to `ERR_load_SSL_strings'
collect2: ld returned 1 exit status
make[1]: *** [openssl] Error 1
make[1]: Leaving directory `/var/tmp/portage/openssl-0.9.6i/work/openssl-0.9.6i/apps'
make: *** [sub_all] Error 1

The code is definetly there I checked, and no matter how many times I try to clean out the directory and rebuild, the same error keeps occuring.
System details:
CHOST="i586-pc-linux-gnu"
CFLAGS='-march=pentium-mmx -mcpu=pentium2 -O3'
Back to top
View user's profile Send private message
DuF
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2687
Location: Paris

PostPosted: Fri Feb 21, 2003 3:51 am    Post subject: Reply with quote

if you use portage 2.0.47-r2, look at : https://bugs.gentoo.org/show_bug.cgi?id=16047

"Maybe" it's the origin of your problem.

I just launch emerge openssl too, I will see if I get the same error as you, I hope no :)

FYI : I've got it without any errors.
Back to top
View user's profile Send private message
lodger
n00b
n00b


Joined: 16 Apr 2002
Posts: 53

PostPosted: Fri Feb 21, 2003 4:06 am    Post subject: Reply with quote

I emerged portage-2.0.47-r2 on 2/18 and had no problem w/openssl
emerge today 2/20.
baselayout -1.8.5.8
gcc-3.2.2
gcc-config-1.3.1
From reading the lists and bug reports it seems to me that the problem
lies in the uncommented FEATURES items. I have no FEATURES uncommented.
I have no intention of down-grading portage since 47-r2 is working fine for me.
Roger
Back to top
View user's profile Send private message
robbat2
Developer
Developer


Joined: 19 Feb 2003
Posts: 82

PostPosted: Fri Feb 21, 2003 4:48 am    Post subject: Reply with quote

I'm running:
portage-2.0.46-r12
baselayout-1.8.5.8
gcc-3.2.2
gcc-config-1.3.1

USE flags:
USE="-3dfx -3dnow aalib acl acpi afs alsa apache2 apm arts avi berkdb bonobo canna cdr cjk crypt cups dga directfb doc dvd encode esd ethereal evo fbcon flash freewnn gb gd ggi gif -gnome gphoto2 gps gtk gtk2 gtkhtml guile imap imlib innodb ipv6 java jikes jpeg junit kde -kerberos lcms ldap leim libgda libwww maildir -matrox mbox mikmod motif mozilla mpeg -mule mysql nas nls oav -oci8 oggvorbis opengl oss -pcmcia -pda pdflib plotutils png pnp -postgres qt -qtmt quicktime ruby samba sasl scanner sdl slp snmp socks5 spell -sse svga tcltk tcpd tetex tiff truetype trusted usb -voodoo3 wavelan wmf X xface xml xml2 xmms xv gdbm gpm mmx ncurses pam perl pic python readline slang ssl zlib"
Back to top
View user's profile Send private message
robbat2
Developer
Developer


Joined: 19 Feb 2003
Posts: 82

PostPosted: Fri Feb 21, 2003 8:25 am    Post subject: Reply with quote

Weirdly enough, without any changes, it compiled eventully. I'm suspecting the RAM in that box now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum