ID:               37388
 Updated by:       [EMAIL PROTECTED]
 Reported By:      s dot s at terra dot com dot br
-Status:           Open
+Status:           Feedback
 Bug Type:         MySQLi related
 Operating System: Slackware Linux 10.2
 PHP Version:      5.1.4
 New Comment:

Can't reproduce it.
Please put the whole error output in the net, not just the end of it.
Though, it looks like a misconfiguration/miscompilation. At least these
"undefined references to `__pure_virtual'" clearly show that you have a
problem in your system.


Previous Comments:
------------------------------------------------------------------------

[2006-05-09 20:52:37] s dot s at terra dot com dot br

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 this bug report at http://bugs.php.net/?id=37388&edit=1

Reply via email to