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

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

时间: 2024-10-14 01:31:23

mysql: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP的相关文章

错误: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: PC

su - root mkdir temp mv /local/ldconfig  apt-get update

[速记]python: symbol lookup error: /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0: undefined symbol: g_log_structured_standard问题解决

python: symbol lookup error: /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0: undefined symbol: g_log_structured_standard https://packages.debian.org/sid/amd64/libatk1.0-0/download sudo dpkg -i *.deb Done! 原文地址:https://www.cnblogs.com/DataNerd/p/9094972.ht

fastDfs V5.02 升级到 V5.08版本后,启动报错:symbol lookup error: /usr/bin/fdfs_trackerd: undefined symbol: g_current_time

/libfastcommon-1.0.36 # ./make.sh cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O3 -c -o hash.o hash.c cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O3 -c -o chain.o chain.c cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O3 -c -o shared_fu

lua-5.2.3编译问题"/usr/local/lib/libreadline.so: undefined reference to `PC'"

作者:zhanhailiang 日期:2014-10-21 [root@~/software]# cd lua-5.2.3 [root@~/software/lua-5.2.3]# make linux cd src && make linux make[1]: Entering directory `/root/software/lua-5.2.3/src' make all SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,

error: <class 'xml.parsers.expat.ExpatError'>, syntax error: line 1, column 0: file: /usr/local/lib/python2.7/xmlrpclib.py line: 557

当linux设备上开启sonar6.2时, supervisorctl status报如下错误: error: <class 'xml.parsers.expat.ExpatError'>, syntax error: line 1, column 0: file: /usr/local/lib/python2.7/xmlrpclib.py line: 557 关闭sonar6.2时,报如下错误: error: <class 'socket.error'>, [Errno 113]

mac 安装polymer cli Error: EACCES: permission denied, mkdir &#39;/usr/local/lib/node_modules/polymer-cli/node_modules/wd/build&#39;

安装的时候根据说明,需要使用npm install -g polymer-cli命令,但是一直提示没有权限, 后来增加sudo后提示如下, Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/polymer-cli/node_modules/wd/build' at Object.fs.mkdirSync (fs.js:905:18) at sync (/usr/local/lib/node_modules/p

/horovod/tensorflow/mpi lib.so: error: symbol lookup error: undefined symbol

执行 ldd `find /usr/local/lib/python2.7/dist-packages/ | grep horovod/tensorflow/mpi_lib.so` 显示 # ldd `find /usr/local/lib/python2.7/dist-packages/ | grep horovod/tensorflow/mpi_lib.so` linux-vdso.so.1 => (0x00007ffd68bba000) libcudart.so.8.0 => /usr/

ssh升级以及ssh: symbol lookup error: ssh: undefined symbol: EVP_aes_128_ctr错误处理

1.解压安装openssl包:(不能卸载openssl,否则会影响系统的ssl加密库文件,除非你可以做两个软连接libcryto和libssl) # tar -zxvf openssl-1.0.1.tar.gz # cd openssl-1.0.1 #./config -fPIC threads shared # make # make test # make install # mv /usr/bin/openssl /usr/bin/openssl.OFF # mv /usr/include

libpcre.so: /lib64/libpcre.so.0 /usr/local/lib/libpcre.so /usr/local/lib/libpcre.so.1

安装ganglia # gmond -t | tee /usr/local/etc/gmond.conf gmond: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 解决方法 执行如下命令: whereis libpcre.so.1 显示如下: libpcre.so: /lib64/libpcre.so.0 /usr/loc