LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cant compile PHP! SSL error? (https://www.linuxquestions.org/questions/linux-software-2/cant-compile-php-ssl-error-464714/)

socceroos 07-16-2006 11:01 PM

Cant compile PHP! SSL error?
 
I am using php 5.1.4, openssl 0.9.8b, apache 2.2.2, mysql 5.0.22, libxml 2.6.26, jpeg v6b, zlib 1.2.3, gd 2.0.33 and flex (lex).

I am compiling php 5.1.4 with the following options:

./configure --prefix=/usr/local/php \
--mandir=/usr/local/man \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-openssl=/usr/local/ssl \
--with-mysql=/usr/local/mysql \
--enable-bcmath \
--with-gd \
--with-gd-dir=/usr/local \
--with-zlib \
--with-zlib-dir=/usr/local \
--with-jpeg-dir=/usr/local

When I try 'make' after the configure script has successfully run, I get the following errors:

/usr/local/ssl/lib/libssl.a(ssl_lib.o)(.text+0x70): In function `SSL_CTX_set_session_id_context':
: multiple definition of `SSL_CTX_set_session_id_context'
/usr/local/mysql/lib/libmysqlclient.a(ssl.o)(.text+0xe24): first defined here
/usr/bin/ld: Warning: size of symbol `SSL_CTX_set_session_id_context' changed from 10 in /usr/local/mysql/lib/libmysqlclient.a(ssl.o) to 91 in /usr/local/ssl/lib/libssl.a(ssl_lib.o)
/usr/local/ssl/lib/libssl.a(ssl_lib.o)(.text+0x410): In function `SSL_set_fd':
: multiple definition of `SSL_set_fd'
/usr/local/mysql/lib/libmysqlclient.a(ssl.o)(.text+0x354): first defined here
/usr/bin/ld: Warning: size of symbol `SSL_set_fd' changed from 48 in /usr/local/mysql/lib/libmysqlclient.a(ssl.o) to 186 in /usr/local/ssl/lib/libssl.a(ssl_lib.o)
/usr/local/ssl/lib/libssl.a(ssl_lib.o)(.text+0x4cc): In function `SSL_set_wfd':
: multiple definition of `SSL_set_wfd'

..................MORE ERRORS HERE..........(i don't know how to attach a file to a thread)

/usr/local/mysql/lib/libmysqlclient.a(ssl.o)(.text+0x1314): first defined here
/usr/bin/ld: Warning: size of symbol `EVP_BytesToKey' changed from 407 in /usr/local/mysql/lib/libmysqlclient.a(ssl.o) to 562 in /usr/local/ssl/lib/libcrypto.a(evp_key.o)
/usr/local/ssl/lib/libcrypto.a(e_des3.o)(.text+0x238): In function `EVP_des_ede3_cbc':
: multiple definition of `EVP_des_ede3_cbc'
/usr/local/mysql/lib/libmysqlclient.a(ssl.o)(.text+0x12e0): first defined here
/usr/bin/ld: Warning: size of symbol `EVP_des_ede3_cbc' changed from 49 in /usr/local/mysql/lib/libmysqlclient.a(ssl.o) to 6 in /usr/local/ssl/lib/libcrypto.a(e_des3.o)
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

Any help would be much appreciated.


All times are GMT -5. The time now is 01:15 AM.