URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID8
Нить номер: 5158
[ Назад ]

Исходное сообщение
"установка php c поддержкой mysql?"

Отправлено MrDRu , 08-Авг-07 16:09 
Здравствуйте!
AltLinux 3.0. Хочу установить php с поддержкой mysql. Набираю:
./configure --with-mysql=/usr/local/mysql ....
Получаю:
...
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.

Если не указывать --with-mysql, то все проходит без проблем... Не может ли быть причиной то, что php-4.4.4, а MySQL 5.0.24?


Содержание

Сообщения в этом обсуждении
"установка php c поддержкой mysql?"
Отправлено Lucf3r , 08-Авг-07 16:47 
>[оверквотинг удален]
>AltLinux 3.0. Хочу установить php с поддержкой mysql. Набираю:
>./configure --with-mysql=/usr/local/mysql ....
>Получаю:
>...
>checking for mysql_close in -lmysqlclient... no
>checking for mysql_error in -lmysqlclient... no
>configure: error: mysql configure failed. Please check config.log for more information.
>
>Если не указывать --with-mysql, то все проходит без проблем... Не может ли
>быть причиной то, что php-4.4.4, а MySQL 5.0.24?

А библиотека mysqlclient'а в указанной директории лежит? установите пакет mysql-devel


"установка php c поддержкой mysql?"
Отправлено MrDRu , 08-Авг-07 16:56 
>[оверквотинг удален]
>>Получаю:
>>...
>>checking for mysql_close in -lmysqlclient... no
>>checking for mysql_error in -lmysqlclient... no
>>configure: error: mysql configure failed. Please check config.log for more information.
>>
>>Если не указывать --with-mysql, то все проходит без проблем... Не может ли
>>быть причиной то, что php-4.4.4, а MySQL 5.0.24?
>
>А библиотека mysqlclient'а в указанной директории лежит? установите пакет mysql-devel

да, в указанной:
-rw-r--r--  1 root root 2318308 Июл 27  2006 /usr/local/mysql/lib/libmysqlclient.a
-rw-r--r--  1 root root 2326298 Июл 27  2006 /usr/local/mysql/lib/libmysqlclient_r.a


"установка php c поддержкой mysql?"
Отправлено org , 08-Авг-07 18:30 
>>Если не указывать --with-mysql, то все проходит без проблем... Не может ли
>>быть причиной то, что php-4.4.4, а MySQL 5.0.24?

отнюдь, такого быть НЕ МОЖЕТ!!!


"установка php c поддержкой mysql?"
Отправлено .org , 08-Авг-07 18:12 
>[оверквотинг удален]
>AltLinux 3.0. Хочу установить php с поддержкой mysql. Набираю:
>./configure --with-mysql=/usr/local/mysql ....
>Получаю:
>...
>checking for mysql_close in -lmysqlclient... no
>checking for mysql_error in -lmysqlclient... no
>configure: error: mysql configure failed. Please check config.log for more information.
>
>Если не указывать --with-mysql, то все проходит без проблем... Не может ли
>быть причиной то, что php-4.4.4, а MySQL 5.0.24?

please check config.log for more information.
we need more information (:



"установка php c поддержкой mysql?"
Отправлено d2e8k , 09-Авг-07 11:58 
>please check config.log for more information.
>we need more information (:

...
configure:63006: checking for mysql_errno in -lmysqlclient
configure:63025: gcc -o conftest -g -O2  -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib  -Wl,-rpath,/usr/local/lib -L/usr/local/lib co
nftest.c -lmysqlclient  -lz -lgd -lresolv -lm -ldl -lnsl  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)(.text+0x76): In function `yaSSL::x509::~x509(void)':
cert_wrapper.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(cert_wrapper.o)(.text+0x2e6): In function `yaSSL::CertManager::~CertManager(void)':
cert_wrapper.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x42): In function `mySTL::
list<yaSSL::SSL_SESSION *>::~list(void)':
template_instnt.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL12input_buffer+0x42): In function `mySTL:
:list<yaSSL::input_buffer *>::~list(void)':
template_instnt.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL13output_buffer+0x42): In function `mySTL
::list<yaSSL::output_buffer *>::~list(void)':
template_instnt.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x42):template_instnt.cpp: more undefined refe
rences to `__builtin_delete' follow
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x8): undefined reference to `__pure_vir
tual'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0xc): undefined reference to `__pure_vir
tual'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x10): undefined reference to `__pure_vi
rtual'
/usr/local/mysql/lib/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x14): undefined reference to `__pure_vi
rtual'
/usr/local/mysql/lib/libmysqlclient.a(yassl_imp.o)(.text+0x295d): In function `yaSSL::ServerDHParams::~ServerDHParams(void)':
yassl_imp.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_imp.o)(.text+0x4996): In function `yaSSL::Connection::~Connection(void)':
yassl_imp.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_int.o)(.text+0x31b8): In function `yaSSL::SSL_SESSION::~SSL_SESSION(void)':
yassl_int.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_int.o)(.text+0x3332): In function `yaSSL::Sessions::~Sessions(void)':
yassl_int.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(yassl_int.o)(.text+0x3b43):yassl_int.cpp: more undefined references to `__builtin_delete' follow
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0xc): undefined reference to `__pure_virtual
'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x10): undefined reference to `__pure_virtua
l'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x14): undefined reference to `__pure_virtua
l'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x18): undefined reference to `__pure_virtua
l'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x1c): undefined reference to `__pure_virtua
l'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt11BER_Decoder+0xc): more undefined references to `
__pure_virtual' follow
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.t._._Q28TaoCrypt13DSA_PublicKey+0xaa): In function `TaoCrypt::DSA_Pu
blicKey::~DSA_PublicKey(void)':
asn.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-random.o)(.text+0x171): In function `TaoCrypt::OS_Seed::~OS_Seed(void)':
random.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x14): undefined reference to
`__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x18): undefined reference to
`__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x1c): undefined reference to
`__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x20): undefined reference to
`__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x24): undefined reference to
`__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x28): more undefined referen
ces to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.text+0x1611): In function `yaSSL::RandomPool::~RandomPool(void)':
crypto_wrapper.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.text+0x200d): In function `yaSSL::Integer::~Integer(void)':
crypto_wrapper.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.text+0x2395): In function `yaSSL::DiffieHellman::~DiffieHellman(void)':
crypto_wrapper.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x51): In function `yaSSL::DES::DESImpl::~DESI
mpl(void)':
crypto_wrapper.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL7DES_EDE11DES_EDEImpl+0x3a): In function `yaSSL::DES_EDE::D
ES_EDEImpl::~DES_EDEImpl(void)':
crypto_wrapper.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x3a):crypto_wrapper.cpp: more undefined refer
ences to `__builtin_delete' follow
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt9Mode_BASE+0xc): undefined reference to `__pure_virtua
l'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x8): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0xc): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x10): undefined reference to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0x8): undefined reference to `__pure_virtual
'
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0xc): more undefined references to `__pure_v
irtual' follow
/usr/local/mysql/lib/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q28TaoCrypt14RSA_PrivateKey+0x12e): In function `TaoCrypt::RSA_Priv
ateKey::~RSA_PrivateKey(void)':
crypto_wrapper.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(log.o)(.text+0x30): In function `yaSSL::Log::~Log(void)':
log.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc): undefined refe
rence to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x10): undefined ref
erence to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x14): undefined ref
erence to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x18): undefined ref
erence to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x3c): undefined ref
erence to `__pure_virtual'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40): more undefine
d references to `__pure_virtual' follow
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x88): In function `TaoCrypt::FileSource::~FileSource(void)':
file.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x28c): In function `TaoCrypt::FileSink::~FileSink(void)':
file.cpp: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
configure: failed program was:
#line 63014 "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_errno();

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