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

原创 2018年04月17日 09:20:59

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

/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



Hue配置MySQL查询的时候提示找不到libmysqlclient.so(ubuntu环境下)

今天换了个linux系统,把原来的hadoop环境考到了新的系统上。然后在线安装了个MySQL,再测试hue是否可以使用DB查询时报错:libmysqlclient.so.20找不到。在usr下找了半...
  • qq_34764487
  • qq_34764487
  • 2017-10-21 21:52:15
  • 166

安装php-mysql时报错找不到libmysqlclient.so.18

安装php-mysql时报错找不到libmysqlclient.so.18经命令find / -name libmysqlclient.so*,可知自己电脑是libmysqlclient.so.20解...
  • u012026446
  • u012026446
  • 2018-02-28 09:34:02
  • 79

ImportError: libmysqlclient.so.20: cannot open shared object file: No such file or directory

已经安装了mysql-python,但是在import MySQLdb的时候一直提示错误题目所示错误 解决办法: 卸载重装mysql-python就好了 pip uninstall mysq...
  • qq_28719743
  • qq_28719743
  • 2018-02-22 23:13:02
  • 43

Ubuntu14.04LST系统中安装ROS遇到的问题

问题: 在利用Ubuntu 14.04 LTS进行ROS安装时,总是出现这个问题 解决办法: 更改软件源,在设置中有个软件与更新,在里面将从光驱安装取消掉,然后终端执行sudo apt-get ...
  • y363703390
  • y363703390
  • 2016-05-10 13:17:23
  • 298

libmysqlclient.so库文件下载

  • 2010年03月13日 21:02
  • 1.49MB
  • 下载

启动apache时报错libmysqlclient.so.16 not found的处理

libmysqlclient.so.16 引发的错误。
  • symayy
  • symayy
  • 2016-09-18 16:32:25
  • 1031

44b0调试的时候出现找不到darms.dll 和 tarms.dll问题

  • 2010年09月11日 16:33
  • 540B
  • 下载

windows10 连接ubuntu14.04远程桌面

windows10 连接ubuntu14.04远程桌面本人是研究**计算机视觉**的,所以有时候连接服务器需要查看服务器运行代码的可视化结果,这比保存到服务器再down下来要方便多了,于是多方搜索,终...
  • lx10271129
  • lx10271129
  • 2017-05-28 22:18:18
  • 165

ubuntu14.04配置faster-rcnn

1 首先要保证安装了cython, python-opencv, easydict,如果没有请执行以下命令: sudo apt-get install cython sudo apt-get in...
  • qq_26569761
  • qq_26569761
  • 2016-05-13 15:49:52
  • 1540

VMware中64位Ubuntu14.04看不到共享文件夹

VMware中设置好共享文件夹并按照
  • luoyijs
  • luoyijs
  • 2014-09-17 17:45:28
  • 2032
收藏助手
不良信息举报
您举报文章:ubuntu14.04下出现libmysqlclient.so.20找不到问题
举报原因:
原因补充:

(最多只允许输入30个字)