本帖最后由 chenshuilongque 于 2011-04-29 10:40:02 编辑

解决方案 »

  1.   

     error: Unable to link to MySQL client library!
    这个问题有进展了 在/usr/lib 下有MySQL client library 但是居然不识别。。
    checking for MySQL library directory... configure: error: Didn't find mysqlclient_r library in '/usr/lib64 /usr/lib /usr/lib64/mysql /usr/lib/mysql /usr/local/lib64 /usr/local/lib /usr/local/lib/mysql /usr/local/mysql/lib /usr/local/mysql/lib/mysql /usr/mysql/lib/mysql /opt/mysql/lib /opt/mysql/lib/mysql /sw/lib /sw/lib/mysql'
    查看文件  存在
    linux:/usr/lib # ls |grep mysql
    libmysqlclient_r.so.15
    libmysqlclient_r.so.15.0.0
    mysql
      

  2.   

    We do most of the development against the current “GA” release of MySQL, 5.1 as of this writing. Because MySQL++ is intended for use in production environments, we don’t test it against bleeding-edge versions of MySQL; we wait for the GA release. We’re not opposed to supporting newer versions, we just don’t build test environments for these newer versions in advance of need. If you find that MySQL++ isn’t building against a newer release of MySQL, a short bug report is usually sufficient to get it fixed.目前好像mysql++不支持 mysql 5.1 以上的
      

  3.   

    ln -s /usr/local/lib/libmysqlclient.so /usr/lib/libmysqlclient.so建立一个软连接。