返回信息流各位兄弟帮帮忙吧 谢谢各位牛人了
我在Linux上装了mysql-server-5.0.22.rpm,mysql-client-5.0.22.rpm,mysql-devel-5.0.22.rpm
mysql.h等头文件在/usr/include/mysql目录下 库文件在/usr/lib/mysql目录下
然后我把一个简单的c程序写好了
编译如下:
#gcc -o mysql_test ./mysqltest.c -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient -lz
系统报错:
============================================================================
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x: 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+0x1: undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x77): In function `yaSSL:509::~x509(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x30f): In function `yaSSL::CertManager::~CertManager(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x41): 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+0x41): 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+0x41): In function `mySTL::list<yaSSL:utput_buffer *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x41): more undefined references to `__builtin_delete' follow
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x: 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+0x2a62): In function `yaSSL::ServerDHParams::~ServerDHParams(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x4b3b): In function `yaSSL::Connection::~Connection(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x32cd): In function `yaSSL::SSL_SESSION::~SSL_SESSION(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x348b): In function `yaSSL::Sessions::~Sessions(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x37db): In function `yaSSL::SSL_CTX::~SSL_CTX(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x3c60): 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+0x1: 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+0xa7): In function `TaoCrypt:SA_PublicKey::~DSA_PublicKey(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-random.o)(.text+0x166): 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+0x1: 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+0x2: more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x16a6): In function `yaSSL::RandomPool::~RandomPool(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x20d6): In function `yaSSL::Integer::~Integer(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x2476): In function `yaSSL:iffieHellman::~DiffieHellman(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x37): In function `yaSSL:ES:ESImpl::~DESImpl(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x8e): In function `yaSSL::AES::AESImpl::~AESImpl(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3RSA7RSAImpl+0x76): 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+0x: 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+0x: 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+0x12b): In function `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt8DES_BASE+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(log.o)(.text+0x31): 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+0x1: 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+0x85): In function `TaoCrypt::FileSource::~FileSource(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x295): In function `TaoCrypt::FileSink::~FileSink(void)':
: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
===================================================================================
帮帮忙吧,谢谢
这是一条镜像帖。来源:北邮人论坛 / soft-design / #23073同步于 2007/12/14
该镜像源已超过 30 天没有更新,可能在源站已被删除。
SoftDesign机器人发帖
Linux下的mysql C编程
snoopygg
2007/12/14镜像同步1 回复
订阅后,新回复会通过你的通知中心匿名送达。
1 条回复
#LD_DEBUG=libs gcc -o mysql_test ./mysqltest.c -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient -lz
看它去什么地方找lib 然后检查一下lib是否在正确的位置
【 在 snoopygg (喜欢snoopy的菜鸟) 的大作中提到: 】
: 标 题: Linux下的mysql C编程
: 发信站: 北邮人论坛 (Fri Dec 14 10:44:05 2007), 站内
:
: 各位兄弟帮帮忙吧 谢谢各位牛人了
:
: 我在Linux上装了mysql-server-5.0.22.rpm,mysql-client-5.0.22.rpm,mysql-devel-5.0.22.rpm
: mysql.h等头文件在/usr/include/mysql目录下 库文件在/usr/lib/mysql目录下
:
: 然后我把一个简单的c程序写好了
: 编译如下:
: #gcc -o mysql_test ./mysqltest.c -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient -lz
: 系统报错:
:
: ============================================================================
: /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x: 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+0x1: undefined reference to `__pure_virtual'
: /usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x77): In function `yaSSL:509::~x509(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x30f): In function `yaSSL::CertManager::~CertManager(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x41): 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+0x41): 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+0x41): In function `mySTL::list<yaSSL:utput_buffer *>::~list(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x41): more undefined references to `__builtin_delete' follow
: /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x: 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+0x2a62): In function `yaSSL::ServerDHParams::~ServerDHParams(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x4b3b): In function `yaSSL::Connection::~Connection(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x32cd): In function `yaSSL::SSL_SESSION::~SSL_SESSION(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x348b): In function `yaSSL::Sessions::~Sessions(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x37db): In function `yaSSL::SSL_CTX::~SSL_CTX(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x3c60): 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+0x1: 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+0xa7): In function `TaoCrypt:SA_PublicKey::~DSA_PublicKey(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-random.o)(.text+0x166): 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+0x1: 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+0x2: more undefined references to `__pure_virtual' follow
: /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x16a6): In function `yaSSL::RandomPool::~RandomPool(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x20d6): In function `yaSSL::Integer::~Integer(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x2476): In function `yaSSL:iffieHellman::~DiffieHellman(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x37): In function `yaSSL:ES:ESImpl::~DESImpl(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x8e): In function `yaSSL::AES::AESImpl::~AESImpl(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3RSA7RSAImpl+0x76): 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+0x: 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+0x: 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+0x12b): In function `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt8DES_BASE+0xc): undefined reference to `__pure_virtual'
: /usr/lib/mysql/libmysqlclient.a(log.o)(.text+0x31): 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+0x1: 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+0x85): In function `TaoCrypt::FileSource::~FileSource(void)':
: : undefined reference to `__builtin_delete'
: /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x295): In function `TaoCrypt::FileSink::~FileSink(void)':
: : undefined reference to `__builtin_delete'
: collect2: ld returned 1 exit status
: ===================================================================================
:
: 帮帮忙吧,谢谢
:
: --
: 小白!小白!。。。。你在。。。。哪里?
:
: ※ 来源:·北邮人论坛 http://forum.byr.edu.cn·[FROM: 210.25.132.*]