[arch-general] upgrading postfix - newaliases: error while loading libdb-5.1.so -- ignore?

Baho Utot baho-utot at columbus.rr.com
Wed Jul 6 20:02:11 EDT 2011


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.



More information about the arch-general mailing list