From: s dot s at terra dot com dot br
Operating system: Slackware Linux 10.2
PHP version: 5.1.4
PHP Bug Type: MySQLi related
Bug description: Missing SSL support
Description:
------------
Configure step stops when check for mysqlcli lib usability.
I think its missing the SSL support on mysqli or the configure check is
gessing something wrong (like link to the system libs) or its a mysql
issue (if so, Im posting it on the wrong place ;)
p.s. The problem only occurs before MySQL 5.0.20 (in this version was
included SSL support for the cli)
Reproduce code:
---------------
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-apxs2 \
--with-config-file-path=/etc/apache \
--disable-ipv6 \
--enable-sockets \
--with-zlib \
--with-bz2 \
--with-openssl \
--enable-calendar \
--enable-dba \
--enable-ftp \
--with-dom \
--with-dom-xslt \
--with-dom-exslt \
--with-gdbm \
--with-db3 \
--with-inifile \
--enable-soup \
--enable-gd-native-ttf \
--with-gettext \
--with-mime-magic \
--with-mysql-sock \
--with-mysql=/usr/local/mysql \
--with-pdo-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-xmlrpc \
--with-xslt \
--with-iconv \
--enable-memory-limit \
--enable-zend-multibyte
Expected result:
----------------
No compilation errors ;)
Actual result:
--------------
>From config.log:
[Many messages like]
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40):
more undefined references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x64):
In function `TaoCrypt::FileSource::~FileSource(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x200):
In function `TaoCrypt::FileSink::~FileSink(void)':
: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
configure: failed program was:
#line 58781 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_error();
int main() {
mysql_error()
; return 0; }
--
Edit bug report at http://bugs.php.net/?id=37388&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=37388&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=37388&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=37388&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37388&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=37388&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37388&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37388&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37388&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37388&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37388&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=37388&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=37388&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37388&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37388&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37388&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37388&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37388&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37388&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37388&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37388&r=mysqlcfg