You are not logged in.

#1 2016-11-23 07:29:54

2bfree
Member
Registered: 2016-11-23
Posts: 3

[SOLVED] libreadline.so.6 error

Last time I upgraded my system was on 15th November. Pacman didn't give me any errors or warning.

Yesterday, I tried to run sclang (from the supercollider-with-plugins AUR) and got this error:

sclang: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory

I searched for libreadline and found several people having problems after recent system upgrades. It seems like my problem is connected to this issue:

https://bugs.archlinux.org/task/51818

People on that thread and on others had much more severe problems. I don't use lvm and I rebooted several times without problems before I came across the sclang error. The suggested solution (to boot from an USB stick, chroot and run mkinitcpio -P) makes me really nervous because being the noob that I am I still don't really understand how it's supposed to fix my problem even after having spent 2 hours reading the wiki articles. Also, I don't know exactly how to do it and since operations like the above have the potential to render my install unusable and since I need to be able to run sclang tomorrow morning, I have the following questions:

1. Do I need to run mkinitcpio -P from a usb stick to fix my problem?
2. What does the initramfs have to do with versions of shared libraries used by different packages?
2. Should I upgrade again before doing so?
3. Could someone please give me step by step instructions or point me to a document that describes the process?

Thanks a lot in advance!

Last edited by 2bfree (2016-11-23 08:55:06)

Offline

#2 2016-11-23 07:35:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] libreadline.so.6 error

1. No
2. In your case, nothing.
3. Always upgrade.
4. If you install from the AUR, it is your responsibility--not pacman's--to rebuild those packages whenever a library from the official repos is updated. In this case, you need to rebuild sclang against readline 7.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-11-23 07:51:27

2bfree
Member
Registered: 2016-11-23
Posts: 3

Re: [SOLVED] libreadline.so.6 error

That seems much less dangerous :-) Thank you!

Offline

#4 2016-11-23 07:54:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] libreadline.so.6 error

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB