码迷,mamicode.com
首页 > 数据库 > 详细

mysql: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP

时间:2016-08-16 00:37:13      阅读:442      评论:0      收藏:0      [点我收藏+]

标签:

Error Symptom:

when you run $mysql -u root -p command in the linux you get an error message ” mysql: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP”

Solution:

Step 1: Login as root

Step 2: Go to folder path #cd/usr/local/lib

there was a bunch of readline libs in there (libreadline.so.BLAH-BLAH) so i:

Step3: Create a directory #mkdir temp

Step 4: Move the files # mv /usr/local/lib/libreadline* temp

Step 5:  #ldconfig

Step 6: #apt-get update

mysql: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP

标签:

原文地址:http://www.cnblogs.com/ShaunChen/p/5774706.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!