ubuntu14.04下出现libmysqlclient.so.20找不到问题


搜了下,发现没人公布解决这个问题的方法,于是分享了下,分享让科技进步更快,大家一起加油

/usr/bin/ld: warning: libmysqlclient.so.20, needed by //usr/local/lib/libzdb.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcrypto.so.1.0.0, needed by //usr/lib/x86_64-linux-gnu/libpq.so.5, may conflict with libcrypto.so.1.1
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_affected_rows@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_reset@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_close@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_affected_rows@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_prepare@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_real_query@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_field_count@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_query@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_ping@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_init@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_param_count@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_execute@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_options@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_next_result@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_fetch_field_direct@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_error@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_store_result@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_result_metadata@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_bind_result@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_attr_set@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_close@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_init@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_free_result@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_error@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_fetch_column@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_real_connect@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_insert_id@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_fetch@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_ssl_set@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_stmt_bind_param@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_free_result@libmysqlclient_20.0'
//usr/local/lib/libzdb.so: undefined reference to `mysql_errno@libmysqlclient_20.0'

collect2: error: ld returned 1 exit status


解决办法:

apt-get install libzdb-dev



阅读更多
个人分类: 编程工具
上一篇解决WIN7开机点登陆后黑屏很长时间才会进系统,打黑屏补丁无效问题
下一篇解决ubuntu出现各种依赖错误,甚至是桌面进不去问题
想对作者说点什么? 我来说一句

libmysqlclient.so库文件下载

2010年03月13日 1.49MB 下载

没有更多推荐了,返回首页

关闭
关闭