You are not logged in.

#1 2014-04-03 22:44:16

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 engine

And when I run

pacman-key --init

I get the error

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

Does anyone know how I can 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)

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


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My 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 engine

Is there any other way I can install readline?

Last edited by whitebrice (2014-04-03 22:57:07)

Offline

#4 2014-04-03 22:56:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,430

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: [Solved] Undefined symbols in libreadline.so.6

sure

pacman -U /var/cache/pacman/pkg/readline-6.3-1-x86_64.pkg.tar.xz

Offline

#6 2014-04-03 22:58:06

whitebrice
Member
Registered: 2013-12-20
Posts: 31

Re: [Solved] Undefined symbols in libreadline.so.6

@karol I don't understand what you mean. What can I do from a liveUSB?

@rutgerr That command gives me the same error, invalid crypto engine. I have the appropriate pkg.tar.xz in /var/cache/pacman/pkg, but I don't know how to install something like that without using pacman. Is it as simple as extracting it to the root directory?

Last edited by whitebrice (2014-04-03 23:06:34)

Offline

#7 2014-04-03 23:05:44

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 5,295
Website

Re: [Solved] Undefined symbols in libreadline.so.6

whitebrice wrote:

Aside: I recently enabled gnome-unstable, testing, and community-testing repos

Moving to Testing sub-forum.

Offline

#8 2014-04-03 23:06:30

rutgerr
Member
From: São Paulo, SP - Brasil
Registered: 2011-06-06
Posts: 72

Re: [Solved] Undefined symbols in libreadline.so.6

mv /usr/lib/libreadline.so.6 /usr/lib/libreadline.so.6.old

are you sure you pointed the oldest package?

Last edited by rutgerr (2014-04-03 23:09:42)

Offline

#9 2014-04-03 23:10:18

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: [Solved] Undefined symbols in libreadline.so.6

What I guess karol i suggesting is that you boot from a liveUSB, mount your system partition to /mnt and install readline from there, e.g. using

pacman -S --root /mnt readline

(see https://wiki.archlinux.org/index.php/Pa … pgrade.21)

Offline

#10 2014-04-03 23:10:26

whitebrice
Member
Registered: 2013-12-20
Posts: 31

Re: [Solved] Undefined symbols in libreadline.so.6

Yeah, I'm sure. I ran the following command:

pacman -U /var/cache/pacman/pkg/readline-6.3-1-x86_64.pkg.tar.xz

And I have three readline packages in /var/cache/pacman/pkg: 6.3-1, 6.3.003-1, and 6.3-3. The package for version 6.3-1 has the oldest timestamp.

edit: I tried that mv command. Now when I try to run pacman-key --init, i get the error:

/usr/bin/bash: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory

Last edited by whitebrice (2014-04-03 23:13:54)

Offline

#11 2014-04-03 23:12:18

rutgerr
Member
From: São Paulo, SP - Brasil
Registered: 2011-06-06
Posts: 72

Re: [Solved] Undefined symbols in libreadline.so.6

i already edited  the previous post, worked for me

Offline

#12 2014-04-03 23:18:10

whitebrice
Member
Registered: 2013-12-20
Posts: 31

Re: [Solved] Undefined symbols in libreadline.so.6

I don't understand what the mv command does. Doesn't pacman need that library to run? If so, then when I rename it, I still can't run pacman so that I can install the old version of readline.

Offline

#13 2014-04-03 23:22:56

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: [Solved] Undefined symbols in libreadline.so.6

What if you TEMPORARILY set the Siglevel to "Never" (to disable key verification, which you'll want to re-enable once readline works) in pacman.conf, then does it run?

Offline

#14 2014-04-03 23:29:59

whitebrice
Member
Registered: 2013-12-20
Posts: 31

Re: [Solved] Undefined symbols in libreadline.so.6

That did it! Thank you very much \hbar, rutgerr, karol, and clfarron4. Is putting "[Solved]" in the subject line something I can do, or will a mod do it?

Offline

#15 2014-04-03 23:31:21

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: [Solved] Undefined symbols in libreadline.so.6

You can do it

Edit: Oh, and you're welcome!

Last edited by \hbar (2014-04-03 23:32:02)

Offline

#16 2014-04-03 23:32:10

whitebrice
Member
Registered: 2013-12-20
Posts: 31

Re: [Solved] Undefined symbols in libreadline.so.6

I see it now, thanks!

Offline

Board footer

Powered by FluxBB