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

Ionut Biru ibiru at archlinux.org
Wed Jul 6 10:43:12 EDT 2011


On 07/06/2011 05:36 PM, David C. Rankin wrote:
> Guys,
>
> This may just be on i686, but I'm trying to figure out what happened.
> During update this morning, postfix refused to start. The upgrade error
> was:
>
> (41/46) upgrading postfix [#######################################] 100%
> newaliases: error while loading shared libraries: libdb-5.1.so: cannot
> open shared object file: No such file or directory
>
> Attempting to start postfix without the &>/dev/null gave the same error
> (duh..)
>
> [09:27 providence:/var/cache/pacman/pkg] # /usr/sbin/postfix start
> /usr/sbin/postfix: error while loading shared libraries: libdb-5.1.so:
> cannot open shared object file: No such file or directory
>
> Looking for the file, I find it here:
>
> [09:27 providence:/var/cache/pacman/pkg] # locate libdb-5.1.so
> <snip archroot dirs>
> /usr/lib/libdb-5.1.so
>
> Looking for ownership -- it looks like the file is just gone:
>
> [09:28 providence:/var/cache/pacman/pkg] # pacman -Qo /usr/lib/libdb-5.1.so
> error: failed to read file '/usr/lib/libdb-5.1.so': No such file or
> directory
>
> [09:28 providence:/var/cache/pacman/pkg] # l /usr/lib/libdb*
> -rw-r--r-- 1 root root 2277786 Jun 14 19:30 /usr/lib/libdb-5.2.a
> -rwxr-xr-x 1 root root 1789876 Jun 14 19:30 /usr/lib/libdb-5.2.so
> lrwxrwxrwx 1 root root 12 Jun 14 19:30 /usr/lib/libdb-5.so -> libdb-5.2.so
> -rw-r--r-- 1 root root 2277786 Jun 14 19:30 /usr/lib/libdb.a
> <snip>
>
> OK, it looks like a missing link from db 5.2.28-1. On x86_64, I have the
> same thing, but postfix restarts just fine. What do we need to do to get
> postfix to look for libdb-5.2.so instead of libdb-5.1.so on x86?
>
>

all this output is useless without pacman -Q postfix

if you don't have  postfix-2.8.3-4 then is your problem.

-- 
Ionuț


More information about the arch-general mailing list