php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37329 php won`t compile
Submitted: 2006-05-05 12:37 UTC Modified: 2006-05-05 12:45 UTC
From: vitaliy dot okulov at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.4 OS: Gentoo Linux 2006
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vitaliy dot okulov at gmail dot com
New email:
PHP Version: OS:

 

 [2006-05-05 12:37 UTC] vitaliy dot okulov at gmail dot com
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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-05 12:45 UTC] tony2001@php.net
Please report this problem to MySQL developers.
Thank you.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Dec 06 10:00:01 2025 UTC