[arch-general] upgrading postfix - newaliases: error while loading libdb-5.1.so -- ignore?
Baho Utot
baho-utot at columbus.rr.com
Thu Jul 7 05:34:14 EDT 2011
On Thursday, July 07, 2011 02:36:10 AM Allan McRae wrote:
> 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
In this case it would only screwup postfix. I am not talking of whole sale
symlinking libs only to temporay fix issues like this while the package is
being fixed.
More information about the arch-general
mailing list