FAQ
I have installed mysql-standard-5.0.24-linux-i686 from binary and it does work well.
but when I tried to compile mysql++-2.1.1 by typing
./configure --prefix=/home/jing/mysql++ --with-mysql=/home/jing/mysql --enable-thread-check
I got this message
checking for mysql_store_result in -lmysqlclient... no
configure: error: Could not find working MySQL client library!
I checked the directory of mysql/lib, and I did find mysql client library -- libmysqlclient.a, but no libmysqlclient.so
So I compiled mysql client from source, and got libmysqlclient.so.15.0.0
I made a symbolic link, then the configure passed.
So, mysql++ can only be compiled with dynamic library -- libmysqlclient.so?







--经典荟萃 时尚男装
--http://freemail6.eyou.com/sys_sig.php?url=aHR0cDovL2V5b3VhZnAuYWxseWVzLmNvbS9tYWluL2FkZmNsaWNrP2RiPWV5b3VhZnAmYmlkPTk1LDgxLDMmY2lkPTczLDksMSZzaWQ9MTY4JmFkdmlkPTQmY2FtaWQ9NCZzaG93PWlnbm9yZSZ1cmw9aHR0cDovL2FkZmFybS5tZWRpYXBsZXguY29tL2FkL2NrLzQwODAtMjI5MDMtOTQ5OS0wP2FpZD1leW91O3RleHQ7MTAzJm1wcm89aHR0cDovL3BhZ2VzLmViYXkuY29tLmNuL1ZhbHVlRHJpdmUvem9uZXMvbWFuLmh0bWw=

--http://sms.eyou.com
--无忧二二族、足球大富翁...尽在亿邮短信

Search Discussions

  • Warren Young at Aug 24, 2006 at 5:53 am

    [email protected] wrote:
    So, mysql++ can only be compiled with dynamic library -- libmysqlclient.so?
    No, there's some problem with 5.0.24 that I haven't yet tried to look
    into. You can either roll back to 5.0.22, or look into it and send a
    patch for the problem. :)
  • Far_star at Aug 24, 2006 at 6:31 am
    I have roll back to 5.0.22 (mysql-standard-5.0.22-linux-i686), but the problem still exists.
    No, there's some problem with 5.0.24 that I haven't yet tried to look
    into. You can either roll back to 5.0.22, or look into it and send a
    patch for the problem. :)






    --经典荟萃 时尚男装
    --http://freemail5.eyou.com/sys_sig.php?url=aHR0cDovL2V5b3VhZnAuYWxseWVzLmNvbS9tYWluL2FkZmNsaWNrP2RiPWV5b3VhZnAmYmlkPTk1LDgxLDMmY2lkPTczLDksMSZzaWQ9MTY4JmFkdmlkPTQmY2FtaWQ9NCZzaG93PWlnbm9yZSZ1cmw9aHR0cDovL2FkZmFybS5tZWRpYXBsZXguY29tL2FkL2NrLzQwODAtMjI5MDMtOTQ5OS0wP2FpZD1leW91O3RleHQ7MTAzJm1wcm89aHR0cDovL3BhZ2VzLmViYXkuY29tLmNuL1ZhbHVlRHJpdmUvem9uZXMvbWFuLmh0bWw=

    --http://sms.eyou.com
    --无忧二二族、足球大富翁...尽在亿邮短信
  • Far_star at Aug 24, 2006 at 9:10 am
    It seems the problem caused by libmysqlclient.a in the mysql binary distribution.
    I use libmysqlclient.a compiled by myself instead of the distributed one, the configure works well.







    --经典荟萃 时尚男装
    --http://freemail5.eyou.com/sys_sig.php?url=aHR0cDovL2V5b3VhZnAuYWxseWVzLmNvbS9tYWluL2FkZmNsaWNrP2RiPWV5b3VhZnAmYmlkPTk1LDgxLDMmY2lkPTczLDksMSZzaWQ9MTY4JmFkdmlkPTQmY2FtaWQ9NCZzaG93PWlnbm9yZSZ1cmw9aHR0cDovL2FkZmFybS5tZWRpYXBsZXguY29tL2FkL2NrLzQwODAtMjI5MDMtOTQ5OS0wP2FpZD1leW91O3RleHQ7MTAzJm1wcm89aHR0cDovL3BhZ2VzLmViYXkuY29tLmNuL1ZhbHVlRHJpdmUvem9uZXMvbWFuLmh0bWw=

    --http://sms.eyou.com
    --无忧二二族、足球大富翁...尽在亿邮短信

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupplusplus @
categoriesmysql
postedAug 24, '06 at 4:07a
activeAug 24, '06 at 9:10a
posts4
users2
websitemysql.com
irc#mysql

2 users in discussion

Far_star: 3 posts Warren Young: 1 post

People

Translate

site design / logo © 2023 Grokbase