MySQL 5.0.20

Pascal

Verified User
Joined
Jan 2, 2006
Messages
107
Location
Arnhem, The Netherlands
Update: MySQL 5.0.20a

Code:
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-server-5.0.20-0.i386.rpm/from/http://mysql.mirror.nedlinux.nl/
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-client-5.0.20-0.i386.rpm/from/http://mysql.mirror.nedlinux.nl/
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-devel-5.0.20-0.i386.rpm/from/http://mysql.mirror.nedlinux.nl/
rpm -Uvh MySQL*
Tested on Fedora Core 4!
 
Last edited:
MySQL 5.0.20a

Updated to 5.0.20a!
Code:
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-server-5.0.20a-0.i386.rpm/from/http://mysql.mirror.nedlinux.nl/
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-client-5.0.20a-0.i386.rpm/from/http://mysql.mirror.nedlinux.nl/
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-devel-5.0.20a-0.i386.rpm/from/http://mysql.mirror.nedlinux.nl/
rpm -Uvh MySQL*
 
PHP 5.1.2 fails to compile MySQLi after installing MySQL 5.0.20a (5.0.20 not tested).

I get a "wrong version or libs not found" during ./configure
 
Did a ./build clean / updatedb and even re-installed the MySQL 5.0.20a RPM's (4 RPM's including shared), but still no luck.

in configure.php I have:
Code:
#!/bin/sh
./configure \
        --with-apxs \
        --with-curl \
        --with-curl-dir=/usr/local/lib \
        --with-gd \
        --with-gd-dir=/usr/local \
        --with-gettext \
        --with-jpeg-dir=/usr/local/lib \
        --with-freetype=/usr/local \
        --with-freetype-dir=/usr/local/lib \
        --with-kerberos \
        --with-mcrypt \
        --with-mhash \
        --with-mysql=/usr \
        --with-mysqli=/usr/bin/mysql_config \
        --with-pear \
        --with-png-dir=/usr/local/lib \
        --with-xml \
        --with-zlib \
        --with-zlib-dir=/usr/local/lib \
        --with-zip \
        --with-openssl \
        --enable-bcmath \
        --enable-calendar \
        --enable-ftp \
        --enable-magic-quotes \
        --enable-sockets \
        --enable-track-vars \
        --enable-mbstring \
        -with-imap=/usr/local/imap-2004g
This used to work with MySQL 5.0.18

./build php gives:
Code:
checking for mysql_close in -lmysqlclient... yes
checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... no
checking for mysql_set_server_option in -lmysqlclient... no
configure: error: wrong mysql library version or lib not found. Check config.log for more information.

config.log:
Code:
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3RSA7RSAImpl+0x6e): more undefined references to `__builtin_delete' follow
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt9Mode_BASE+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0xc): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q28TaoCrypt14RSA_PrivateKey+0x123): In function `TaoCrypt::RSA_PrivateKey::~RSA_PrivateK$
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(log.o)(.text+0x24): In function `yaSSL::Log::~Log(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc): undefined reference to `__pure_virt$
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x10): undefined reference to `__pure_vir$
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x14): undefined reference to `__pure_vir$
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x18): undefined reference to `__pure_vir$
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x3c): undefined reference to `__pure_vir$
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40): more undefined references to `__pu$
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x68): In function `TaoCrypt::FileSource::~FileSource(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x228): In function `TaoCrypt::FileSink::~FileSink(void)':
: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
configure: failed program was:
#line 60294 "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_set_server_option();

int main() {
mysql_set_server_option()
; return 0; }

Anybody has an idea what's going wrong here? Without MySQLi everything goes fine.
 
MySQL 5.0.21

Code:
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-server-5.0.21-0.i386.rpm/from/http://mysql.mirror.nedlinux.nl/
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-client-5.0.21-0.i386.rpm/from/http://mysql.mirror.nedlinux.nl/
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-devel-5.0.21-0.i386.rpm/from/http://mysql.mirror.nedlinux.nl/
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-shared-5.0.21-0.i386.rpm/from/http://mysql.mirror.nedlinux.nl/
rpm -Uvh MySQL*

Working for me still..

I still don't get your error... I had the same error the first time.. I guess you solved it? Maybe search @google.com for the error.
 
Last edited:
I had nothing but trouble with 5.0.20 going to stick with 4.1.18 for a while. Could also be that version of mysql don't know.
 
The_cobra666 said:
I had nothing but trouble with 5.0.20 going to stick with 4.1.18 for a while. Could also be that version of mysql don't know.

Well, you can't upgrade so fast from 4.1.18 to 5.0.21... Check the manual...
 
Pascal said:
Well, you can't upgrade so fast from 4.1.18 to 5.0.21... Check the manual...

With that trouble I meaning the configure.php not finding the mysql config file's anymore. Mysql it self worked fine.
 
Solved the .configure problem, but now make returns:

Code:
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x18): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x57): In function `yaSSL::x509::~x509(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x2ad): In function `yaSSL::CertManager::~CertManager(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x32): In function `mySTL::list<yaSSL::SSL_SESSION *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL12input_buffer+0x32): In function `mySTL::list<yaSSL::input_buffer *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL13output_buffer+0x32): In function `mySTL::list<yaSSL::output_buffer *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x32): more undefined references to `__builtin_delete' follow
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x25b2): In function `yaSSL::ServerDHParams::~ServerDHParams(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x420b): In function `yaSSL::Connection::~Connection(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x2bad): In function `yaSSL::SSL_SESSION::~SSL_SESSION(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x2d1b): In function `yaSSL::Sessions::~Sessions(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x3029): In function `yaSSL::SSL_CTX::~SSL_CTX(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x3400): more undefined references to `__builtin_delete' follow
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x18): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x1c): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt11BER_Decoder+0xc): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.t._._Q28TaoCrypt13DSA_PublicKey+0x9f): In function `TaoCrypt::DSA_PublicKey::~DSA_PublicKey(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-random.o)(.text+0x106): In function `TaoCrypt::OS_Seed::~OS_Seed(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x18): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x1c): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x20): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x24): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x28): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x12a6): In function `yaSSL::RandomPool::~RandomPool(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x1b86): In function `yaSSL::Integer::~Integer(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x1ec6): In function `yaSSL::DiffieHellman::~DiffieHellman(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x26): In function `yaSSL::DES::DESImpl::~DESImpl(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x71): In function `yaSSL::AES::AESImpl::~AESImpl(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3RSA7RSAImpl+0x6e): more undefined references to `__builtin_delete' follow
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt9Mode_BASE+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0xc): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q28TaoCrypt14RSA_PrivateKey+0x123): In function `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(log.o)(.text+0x24): In function `yaSSL::Log::~Log(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x18): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x3c): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x68): In function `TaoCrypt::FileSource::~FileSource(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x228): In function `TaoCrypt::FileSink::~FileSink(void)':
: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

*** The make has failed, do you want to try to make again? (y,n): n
 
I am experiencing the same problem!

Code:
ldl -lnsl -lxml2 -lz -lm -lcurl -lssl -lcrypto -ldl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxslt -lxml2 -lz -lm -lcrypt  -o sapi/cli/php
/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)(.text+0x53): In function `yaSSL::x509::~x509(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(cert_wrapper.o)(.text+0x275): In function `yaSSL::CertManager::~CertManager(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x32): In function `mySTL::list<yaSSL::SSL_SESSION *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL12input_buffer+0x32): In function `mySTL::list<yaSSL::input_buffer *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL13output_buffer+0x32): In function `mySTL::list<yaSSL::output_buffer *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x32): more undefined references to `__builtin_delete' follow
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x8): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0xc): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x10): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x14): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(yassl_imp.o)(.text+0x23de): In function `yaSSL::ServerDHParams::~ServerDHParams(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_imp.o)(.text+0x3e8f): In function `yaSSL::Connection::~Connection(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_int.o)(.text+0x29ed): In function `yaSSL::SSL_SESSION::~SSL_SESSION(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_int.o)(.text+0x2b43): In function `yaSSL::Sessions::~Sessions(void)':
: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_int.o)(.text+0x2e35): In function `yaSSL::SSL_CTX::~SSL_CTX(
....
/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
make: *** [sapi/cli/php] Error 1

Debian Sarge
PHP version 5.1.2
MySQL 5.0.21
Apache 1.3

I've been able to reproduce the probem on a Debian system running without DirectAdmin. Might be a php, mysql or debian related bug :S
 
Last edited:
I just updated PHP to 5.1.4 so I needed to rebuild it but didn't get an error :confused:

Code:
Redhat Fedora Core 4
Apache 2.0.58
DirectAdmin 1.26.6
Exim 4.62
MySQL 5.0.21
Named 9.3.1
ProFTPd 1.3.0
OpenSSH_4.3p2
PHP 5.1.4
Zend Optimizer v3.0.0
OpenSSL 0.9.8a

configure.php_ap2
Code:
#!/bin/sh
./configure \
        --with-apxs2 \
        --with-curl \
        --with-curl-dir=/usr/local/lib \
        --with-gd \
        --with-gd-dir=/usr/local/lib \
        --with-freetype-dir=/usr/include/freetype2 \
        --with-gettext \
        --with-jpeg-dir=/usr/local/lib \
        --with-kerberos \
        --with-mcrypt \
        --with-mhash \
        --with-mysql=/usr \
        --with-pear \
        --with-png-dir=/usr/local/lib \
        --with-xml \
        --with-openssl \
        --with-imap \
        --with-imap-ssl \
        --with-zlib \
        --with-zlib-dir=/usr/local/lib \
        --with-zip \
        --enable-exif \
        --enable-memcache \
        --enable-bcmath \
        --enable-calendar \
        --enable-ftp \
        --enable-magic-quotes \
        --enable-sockets \
        --enable-track-vars \
        --enable-mbstring \
        --enable-memory-limit

build (vars)
Code:
APACHE_VER=1.3.35
MODSSL_VER=2.8.25
APACHE2_VER=2.0.58
PHP_VER=5.1.4
GD_VER=2.0.33
CURL_VER=7.15.3
ZLIB_VER=1.2.3
PNG_VER=1.2.8
FRONTPAGE_VER=1.6.1
MCRYPT_VER=2.5.7
MODPERL_FILE=mod_perl-1.0-current.tar.gz
MODPERL2_FILE=mod_perl-2.0-current.tar.gz
MODPERL_DIR=mod_perl-1.29
MODPERL2_DIR=modperl-2.0
MHASH_VER=0.9.6
ZZIP_VER=0.10.82
ZEND_VER=3.0.0
FBSD4_ZEND_VER=2.6.0

Maybe you all should update the other tools too?
 
@pascal: You're not compiling PHP with mysqli. Without mysqli everything compiles just fine. Lucky you :)
 
I downgraded back to 4.

5 has a major impact on all queries used with my system (some take up to 20x more the time that they used 2).

Moving up to mysql 5.0 is a pain!
 
5.0.24

Code:
wget http://ftp.snt.utwente.nl/pub/software/mysql/Downloads/MySQL-5.0/MySQL-server-5.0.24-0.i386.rpm
wget http://ftp.snt.utwente.nl/pub/software/mysql/Downloads/MySQL-5.0/MySQL-client-5.0.24-0.i386.rpm
wget http://ftp.snt.utwente.nl/pub/software/mysql/Downloads/MySQL-5.0/MySQL-devel-5.0.24-0.i386.rpm
wget http://ftp.snt.utwente.nl/pub/software/mysql/Downloads/MySQL-5.0/MySQL-shared-5.0.24-0.i386.rpm
rpm -Uvh MySQL*
 
Back
Top