Re: upgrading postfix - newaliases: error while loading libdb-5.1.so -- ignore?

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



On 07/07/11 10:02, Baho Utot wrote:
On Wednesday, July 06, 2011 05:59:33 PM Paul Ezvan wrote:
As a temporary work around, just add a link in /usr/lib from
/usr/lib/libdb-5.1.so ->  libdb-5.2.so:

13:14 providence:~>  sudo ln -sf /usr/lib/libdb-5.2.so
/usr/lib/libdb-5.1.so 13:14 providence:~>  sudo /etc/rc.d/postfix restart

That will bring postfix back up until the package is updated. Then don't
forget to remove the link later...

Please don't do that, this is a bad workaround !
You should rebuild the package instead, it is very easy with ABS.

Paul

Why?

The worst you could do is have pacman complain that the file(s) already exists
in the file system.  You then only have to remove it and you're good.

Still the best way is to build/repackage but the link works as weel.


The worst you can do while symlinking libraries is entirely screw your system... just ask the people who could not use pacman to extract .xz packages anymore after symlinking liblzma...

Library sonames change for a reason.

Allan


[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