Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mysql compilation problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ixion
l33t
l33t


Joined: 16 Dec 2002
Posts: 708

PostPosted: Fri Nov 07, 2003 6:46 pm    Post subject: mysql compilation problem Reply with quote

I thought my system at home was hosed, but when trying the same task here at work, I get the same error.

When emerging MySQL (via 'emerge -u world'), it bombs with this:
Code:

FUNCTIONS -rdynamic -o .libs/mysqladmin mysqladmin.o  -lstdc++ ../libmysql/.libs/libmysqlclient.so -L/usr/lib -lz -lcrypt -lnsl -lm -lssl -lcrypto -Wl,--rpath -Wl,/usr/lib/mysql
.../libmysql/.libs/libmysqlclient.so: undefined reference to `OPENSSL_add_all_algorithms_noconf'
collect2: ld returned 1 exit status
make[2]: *** [mysql] Error 1
make[2]: *** Waiting for unfinished jobs....
./libmysql/.libs/libmysqlclient.so: undefined reference to `OPENSSL_add_all_algorithms_noconf'
collect2: ld returned 1 exit status
make[2]: *** [mysqladmin] Error 1
make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.14-r2/work/mysql-4.0.14/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.14-r2/work/mysql-4.0.14'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-4.0.14-r2 failed.
!!! Function src_compile, Line 140, Exitcode 2
!!! compile problem


Edit:

My USE variables:
Code:

USE="pam ssl tcpd -X -gtk -gnome -alsa cups"

_________________
only the paranoid survive
Back to top
View user's profile Send private message
ixion
l33t
l33t


Joined: 16 Dec 2002
Posts: 708

PostPosted: Fri Nov 07, 2003 8:01 pm    Post subject: Reply with quote

Code:

USE="-ssl" emerge mysql


solved it. Is that safe, though? Should I want mysql with SSL support?
_________________
only the paranoid survive
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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