Mysql Symbol Lookup Error
Contents |
Linux No comments Today when I execute mysql -uroot -p command in ubuntu console I get this error message. mysql: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP Problem started when I updated my current readline
Anaconda/lib/libreadline.so.6: Undefined Symbol: Pc
library to 6.3 version. So here is the quick fixes for this problem. 1. /usr/local/lib/libreadline.so.6: undefined symbol: pc First of all login as "root" user. Following command will help you to do this. user@localhost:~$ sudo su 2. Go
Symbol Lookup Error Libreadline.so.6: Undefined Symbol: Up
to folder /usr/local/lib and check libreadline exist or not. root@localhost:/home/user# cd /usr/local/lib root@localhost:/usr/local/lib# ls -la libreadline* Output: -rw-r--r-- 1 root root 1427712 May 11 18:03 libreadline.a -rw-r--r-- 1 root root 1427712 May 11 18:02 libreadline.old lrwxrwxrwx 1 root root 16 May 11 18:03 libreadline.so -> libreadline.so.6* lrwxrwxrwx 1 root root 22 May 11 18:13 libreadline.so.6 -> libreadline.so.6.3.old* -r-xr-xr-x 1 root root 829465 May 11 18:03 libreadline.so.6.3* -r-xr-xr-x 1 root root 829465 May 11 18:02 libreadline.so.6.3.old* 3. Now create a temporary folder and create a backup of these libraries. Actually we are going to remove these libraries, and in case of emergency you know what to do. root@localhost:/usr/local/lib# mkdir /tmp/libreadline_bk root@localhost:/usr/local/lib# mv libreadline.* /tmp/libreadline_bk/. 4. Now type `ldconfig` in console. According to man page of ldconfig: ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). root@localhost:/usr/local/lib# ldconfig 5. Now type apt-get update. It take some times and you need Internet connectivity to complete this step root@localhost:/usr/local/lib#apt-get update After this update the problem should solved. Email ThisBlogThis!Share to TwitterShare to Facebook ←Newer Post Home Older Post→ 0 comments: Post a Comment Subscribe to: Post Comments (Atom) Categories . Home About Us Expert Solutions Testing Tools Contact Us Tags Android ANT Build Tool CodeIgniter Encryption Linux MySQL PHP Python QA QC Quality Assurance Quality Control Security selenium Test Engineer Tester Testing tools VirtualBox Weblogic Windows Blog Archive ► 2015 (2) ► February (2) ▼ 2014 (13) ► July (2) ► June (3) ▼ May (2) What Is The Difference Between Quality Assurance, ... mysql: symbol lookup error: /usr/local/lib/libread... ► March (4) ► February (2) Powered by Blogger. Follow by Email Popular Posts ANT Troubleshoot: Perhaps JAVA_HOME does not poin
whitebrice Member Registered: 2013-12-20 Posts: 31 [Solved] Undefined symbols in libreadline.so.6 Pacman upgraded my version of readline to 6.3.003-1 today, and now it appears that this has broken everything that relies checking gpg keys (including pacman itself). Whenever I try to install something with pacman, I get the error:error: GPGME error: Invalid crypto engineAnd when I run pacman-key --initI get the error gpg: symbol lookup error: /usr/lib/libreadline.so.6: undefined symbol: UPDoes anyone know how I can http://www.qanepal.com/2014/05/mysql-symbol-lookup-error.html work around this or downgrade readline? Any help would be greatly appreciated.Aside: I recently enabled gnome-unstable, testing, and community-testing repos so that I could run Gnome 3.12, but it appears I have done so before I had sufficient knowledge to fix things that such actions might break. Last edited by whitebrice (2014-04-03 23:31:57) https://bbs.archlinux.org/viewtopic.php?id=179521 dotfiles Offline #2 2014-04-03 22:48:03 clfarron4 Member From: London, UK Registered: 2013-06-28 Posts: 2,162 Website Re: [Solved] Undefined symbols in libreadline.so.6 Related bug: https://bugs.archlinux.org/task/39731 Claire is fine.Problems? I have dysgraphia, so clear and concise please.My public GPG key for package signingMy x86_64 package repository Offline #3 2014-04-03 22:53:28 whitebrice Member Registered: 2013-12-20 Posts: 31 Re: [Solved] Undefined symbols in libreadline.so.6 Thanks for the link to the bug report. It recommends running pacman -S readline to downgrade readline, but my problem is pacman won't run at all after the update to readline. I get the error:error: GPGME error: Invalid crypto engineIs there any other way I can install readline? Last edited by whitebrice (2014-04-03 22:57:07) dotfiles Offline #4 2014-04-03 22:56:53 karol Archivist Registered: 2009-05-06 Posts: 25,433 Re: [Solved] Undefined symbols in libreadline.so.6 Have you tried using the liveCD / liveUSB? Offline #5 2014-04-03 22:57:56 rutgerr Member From: São Paulo, SP - Brasil Registered: 2011-06-06 Posts: 72 Re:
(libc6,x86-64) => /usr/local/lib/libreadline.so.6 libreadline.so (libc6,x86-64) => /usr/local/lib/libreadline.so libreadline.so.6 (libc6,x86-64) => /lib/x86_64-linux-gnu/libreadline.so.6 libreadline.so.5 (libc6,x86-64) => http://www.badnotes.com/2013/09/29/mysql_error_libreadline/ /lib/x86_64-linux-gnu/libreadline.so.5 libreadline.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libreadline.so 分别查看两个目录下的文件,可以看出最原始的是版本5,9月分安装了新版本,11月份应该是安装了新的开发版本. ➜ ll /usr/local/lib|grep libreadline -rw-r--r-- 1 root root 1405076 9月 11 https://bugs.launchpad.net/bugs/229327 19:07 libreadline.a lrwxrwxrwx 1 root root 16 9月 11 19:07 libreadline.so -> libreadline.so.6 lrwxrwxrwx 1 root root undefined symbol: 18 9月 11 19:07 libreadline.so.6 -> libreadline.so.6.2 -r-xr-xr-x 1 root root 826675 9月 11 19:07 libreadline.so.6.2 ➜ ll /lib/x86_64-linux-gnu | grep libreadline lrwxrwxrwx 1 root root 18 5月 2 10:25 libreadline.so.5 -> libreadline.so.5.2 -rw-r--r-- libreadline.so.6: undefined symbol: 1 root root 259416 12月 31 2012 libreadline.so.5.2 lrwxrwxrwx 1 root root 18 5月 2 10:25 libreadline.so.6 -> libreadline.so.6.2 -rw-r--r-- 1 root root 265496 11月 14 2012 libreadline.so.6.2 ➜ ll /usr/lib/x86_64-linux-gnu | grep libreadline -rw-r--r-- 1 root root 506532 11月 14 2012 libreadline.a lrwxrwxrwx 1 root root 38 11月 14 2012 libreadline.so -> /lib/x86_64-linux-gnu/libreadline.so.6 ➜ ~ 以目前的情况看应该删除一个6版本就可以了,(删除之前先做好备份) 但是删除目录/lib/x86_64-linux-gnu 下的文件后,从新加载(loconfig),后还是不行, 不过删除目录/usr/local/lib/的后就可以了. sudo rm -rf /usr/local/lib/libreadline.* sudo ldconfig 刚刚没有删除目录/usr/lib/x86_64-linux-gnu 下的相关文件,理论上讲应该把这个也删除后是可以的,由于时间问题,这个就没有去测试了. 也就是留了最新的开发版. Permalink: mysql: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP Published: 2013-09-29 Tags: Mysql 6 ← Previous Archive Next → Show Comments © 2012 badnotes. Powered By Jekyll Bootstrap | themed by xinge
Assigned to Milestone Adept Manager Edit New Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: Adept Manager Filed here by: Volans When: 2008-07-10 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance New Undecided Assigned to Nobody Me Remote Watch None, the status of the bug is updated manually. None, the status of the bug is updated manually. URL: The information about this bug in Launchpad is automatically pulled daily from the remote bug. Comment on this change (optional) Email me about changes to this bug report Ubuntu Website - OBSOLETE Edit Invalid Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: Ubuntu Website - OBSOLETE Filed here by: DataD When: 2008-05-11 Completed: 2008-07-10 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Invalid Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description When using adept_manager to upgrade from 7.10 to 8.04, I get the 'gpg: symbol lookup error: /usr/local/lib/libreadline.so.5: undefined symbol: PC' error, and the upgrade terminates. == root# adept_manager & kapture::PkgSystem::PkgSystem() debconf adduser sysklogd snort-mysql oinkmaster debconf adduser sysklogd snort-mysql oinkmaster kdecore (KProcess): WARNING: _attachPty() 34 UpgradeWizard::checkForDistUpgrade debconf adduser sysklogd snort-mysql oinkmaster debconf adduser sysklogd snort-mysql oinkmaster gpg: symbol lookup error: /usr/local/lib/libreadline.so.5: undefined symbol: PC == This is preventing me from upgrading. Sigh. Add tags Tag help Volans (volans) on 2008-07-10 Changed in ubuntu-website: status: New → Invalid Ramsey (ramsey-williams) wrote on 2009-05-06: #1 I get the same error upgrading from 8.10 to 9.04. ~$ sudo do-release-upgrade Checking for a new ubuntu release Done Upgrade tool signature Done Upgrade tool Done downloading extracting 'jaunty.tar.gz' authenticate 'jaunty.tar.gz' against