Problems getting php 5.1.4 to compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I think the problem is with mysql somehow, but I can't seem to find anything on it doing searches.  Here's the details of the install:

Configured
========
./configure --disable-cgi  --with-kerberos --with-openssl --with-mysql --with-mysqli --with-zlib --enable-calendar --with-curl --with-curlwrappers --enable-dba --enable-ftp --with-gd --enable-gd-native-ttf --with-gettext --with-gmp --with-ldap --enable-mbstring --with-mcrypt --with-mhash  --with-ncurses --enable-ucd-snmp-hack --enable-soap --enable-sockets --with-snmp --with-perl --with-config-file-path=/etc --with-apxs2=/usr/local/apache2/bin/apxs

Make Problem
===========
/home/mysqldev/rpm/BUILD/mysql-5.0.24/extra/yassl/src/ssl.cpp:129: multiple definition of `TLSv1_client_method'
/usr/local/ssl/lib/libssl.a(t1_clnt.o)(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `TLSv1_client_method' changed from 6 to 106 in /usr/lib/mysql/libmysqlclient.a(ssl.o)
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.text+0x3c0): In function `SSLv23_server_method':
/home/mysqldev/rpm/BUILD/mysql-5.0.24/extra/yassl/src/ssl.cpp:135: multiple definition of `SSLv23_server_method'
/usr/local/ssl/lib/libssl.a(s23_srvr.o)(.text+0xa20): first defined here
/usr/bin/ld: Warning: size of symbol `SSLv23_server_method' changed from 6 to 32 in /usr/lib/mysql/libmysqlclient.a( ssl.o)
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.text+0x16e0): In function `BN_bin2bn':
/home/mysqldev/rpm/BUILD/mysql-5.0.24/extra/yassl/src/ssl.cpp:757: multiple definition of `BN_bin2bn'
/usr/local/ssl/lib/libcrypto.a(bn_lib.o)(.text+0x370): first defined here
/usr/bin/ld: Warning: size of symbol `BN_bin2bn' changed from 500 to 173 in /usr/lib/mysql/libmysqlclient.a(ssl.o)
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-misc.o)(.text+0x60): In function `CRYPTO_lock':
/home/mysqldev/rpm/BUILD/mysql- 5.0.24/extra/yassl/taocrypt/src/misc.cpp:33: multiple definition of `CRYPTO_lock'
/usr/local/ssl/lib/libcrypto.a(cryptlib.o)(.text+0x280): first defined here
/usr/bin/ld: Warning: size of symbol `CRYPTO_lock' changed from 297 to 7 in /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la- misc.o)
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-misc.o)(.text+0x70): In function `CRYPTO_add_lock':
/home/mysqldev/rpm/BUILD/mysql-5.0.24/extra/yassl/taocrypt/src/misc.cpp:34: multiple definition of `CRYPTO_add_lock'
/usr/local/ssl/lib/libcrypto.a(cryptlib.o)(.text+0x610): first defined here
/usr/bin/ld: Warning: size of symbol `CRYPTO_add_lock' changed from 96 to 7 in /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la- misc.o)
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


If I remove --with-mysqli,  I get a slightly different problem

Configured
========
./configure --disable-cgi  --with-kerberos --with-openssl --with-mysql  --with-zlib --enable-calendar --with-curl --with-curlwrappers --enable-dba --enable-ftp --with-gd --enable-gd-native-ttf --with-gettext --with-gmp --with-ldap --enable-mbstring --with-mcrypt --with-mhash  --with-ncurses --enable-ucd-snmp-hack --enable-soap --enable-sockets --with-snmp --with-perl --with-config-file-path=/etc --with-apxs2=/usr/local/apache2/bin/apxs

Make Problem
===========
/usr/bin/ld: .libs/libphp5.so: undefined versioned symbol name CRYPTO_lock@@libmysqlclient_15
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1


If I also remove --with-mysql,  I get not make errors

Configured
========
./configure --disable-cgi  --with-kerberos --with-openssl  --with-zlib --enable-calendar --with-curl --with-curlwrappers --enable-dba --enable-ftp --with-gd --enable-gd-native-ttf --with-gettext --with-gmp --with-ldap --enable-mbstring --with-mcrypt --with-mhash  --with-ncurses --enable-ucd-snmp-hack --enable-soap --enable-sockets --with-snmp --with-perl --with-config-file-path=/etc --with-apxs2=/usr/local/apache2/bin/apxs

Here is the software that I am currently running:
Mysql 5.0.24-standard
Apache httpd-2.2.3
OpenSSL 0.9.7a

Installed on a customized redhat 9 installation.

Any help resolving this would be greatly appreciated.  No use running PHP without mysql :)




[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux