#37329 [NEW]: php won`t compile
| From: | vitaliy dot okulov at gmail dot com | Date: | Fri, 05 May 2006 12:37:02 +0000 |
| Subject: | #37329 [NEW]: php won`t compile | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-96656@lists.php.net to get a copy of this message | ||
From: vitaliy dot okulov at gmail dot com
Operating system: Gentoo Linux 2006
PHP version: 5.1.4
PHP Bug Type: Compile Failure
Bug description: php won`t compile
Description:
------------
Just install new mysql from binary package which I download from
mysql.com. Configure fail.
Reproduce code:
---------------
Config:
#!/bin/sh
./configure --enable-safe-mode --with-apxs2=/usr/local/apache2/bin/apxs \
--enable-libxml \
--with-openssl=shared \
--with-zlib=shared \
--enable-bcmath=shared \
--with-bz2=shared \
--enable-calendar=shared \
--enable-ftp=shared \
--with-gd=shared \
--with-jpeg-dir \
--with-png-dir \
--with-zlib-dir \
--with-ttf \
--with-freetype-dir \
--enable-gd-native-ttf \
--with-gettext=shared \
--enable-mbstring=shared \
--with-mcrypt=shared \
--with-mhash=shared \
--with-mysql=/usr/local/mysql \
--enable-sockets=shared \
--enable-memory-limit \
--enable-inline-optimization \
--with-regex=shared \
--enable-mbregex=shared \
--with-pcre-regex=shared \
--enable-session=shared \
--with-xsl \
--without-sqlite \
--with-curl=shared \
--with-curlwrappers \
--with-xmlrpc \
--with-ming=shared \
--with-mime-magic=shared \
--enable-dom \
--enable-pdo=shared \
--with-pdo-mysql=shared,/usr/local/mysql \
--with-sqlite=shared \
--with-pdo-sqlite=shared \
--with-mssql=shared
Config.log:
configure:58792: gcc -o conftest -I/usr/include -g -O2
-Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib -L/usr/lib
-Wl,-rpath,/usr -L/usr conftest.c
-lmysqlclient -lz -lm -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz
-lm 1>&5
/usr/local/mysql/lib/libmysqlclient.a(ssl.o):(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x8):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(ssl.o):(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0xc):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(ssl.o):(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x10):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(ssl.o):(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x14):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(ssl.o):(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x18):
undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(cert_wrapper.o): In function
`yaSSL::x509::~x509(void)':
cert_wrapper.cpp:(.text+0x53): undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(cert_wrapper.o): In function
`yaSSL::CertManager::~CertManager(void)':
cert_wrapper.cpp:(.text+0x275): undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o): In function
`mySTL::list<yaSSL::SSL_SESSION *>::~list(void)':
template_instnt.cpp:(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x32):
undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o): In function
`mySTL::list<yaSSL::input_buffer *>::~list(void)':
template_instnt.cpp:(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL12input_buffer+0x32):
undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o): In function
`mySTL::list<yaSSL::output_buffer *>::~list(void)':
template_instnt.cpp:(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL13output_buffer+0x32):
undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o):template_instnt.cpp:(.gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x32):
more undefined references to `__b
uiltin_delete' follow
And so on.
--
Edit bug report at http://bugs.php.net/?id=37329&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37329&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37329&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37329&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37329&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37329&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37329&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37329&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37329&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37329&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37329&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37329&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37329&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37329&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37329&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37329&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37329&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37329&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37329&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37329&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37329&r=mysqlcfg