Re: Please fastly update packages not using the generic readline *.so

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 14.11.2016 20:44, Sebastian Lau via arch-general wrote:
> nullptr ~ % cinnamon &
> [1] 1111
> cinnamon: error while loading shared libraries: libreadline.so.6: cannot 
> open shared object file: No such file or directory
> [1]  + 1111 exit 127   cinnamon
> nullptr ~ % LD_PRELOAD=/usr/lib/libreadline.so cinnamon &

Nope. Nope. Nope. Don't do that.

The entire point of the number that everyones likes to ignore is that if
the number changes the library is NOT (ABI) compatible.

If you force your program to use a different version it may work and
break *at the same time*, cause a butterfly to die, throw errors,
silently delete everything on your system, upload all your files to the
internet or eat your cat. NEVER run software with an incorrect library.

The only point of the unversioned symlink is to allow the linker to find
the version of the library it should link against. It is NOT some kind
of "generic" library.

If you really need the old library for some software, either install a
package that provides it or extract it from the old library package (not
tracked by the package manager so not advised).

If you see anyone else giving advice like this, please correct them. I'd
really like to never see this be done again.

Loading an incorrect library version is not a fix and it's not a
temporary workaround. It's just wrong.

Florian

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux