LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2006, 11:01 PM   #1
socceroos
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Ubuntu, FreeBSD, Fedora
Posts: 125

Rep: Reputation: 16
Question 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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Compile error hampen Linux - Software 6 04-29-2006 05:34 PM
Install PHP - Error During Compile Sitaga Linux - Software 3 01-13-2005 12:04 PM
When trying to compile squid with ssl enabled I get the following error. sanfran49 Linux - Software 0 03-04-2004 04:33 PM
Apache 2 with SSL doesn't compile jqcaducifer Linux - Networking 0 08-03-2003 05:13 PM
PHP 4.3 compile error on RH9 men$an Linux - Distributions 0 05-23-2003 01:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration