You are not logged in.

#1 2005-01-03 15:23:16

cedric
Member
Registered: 2005-01-03
Posts: 17

[solved] Problem with postfix after db upgrade

Hello,

This is just to say that an upgrade (via pacman) from db-4.2.52 to db-4.3.27 causes problems with postfix-2.1.3-5
The postfix messages are (viewed in /var/log/mail):

Jan  3 15:57:10 merlin postfix/master[8339]: warning: process /usr/lib/postfix/smtpd pid 17492 exit status 1
Jan  3 15:57:10 merlin postfix/master[8339]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan  3 15:58:10 merlin postfix/smtpd[21780]: fatal: incorrect version of Berkeley DB: compiled against 4.2.52, run-time linked against 4.3.27

I Tried to build postfix (with db-4.3.27 installed) via abs but it ended prematurely with error messages:

/usr/lib/libdb.so: undefined reference to `pthread_condattr_setpshared'
/usr/lib/libdb.so: undefined reference to `pthread_mutexattr_destroy'
/usr/lib/libdb.so: undefined reference to `pthread_mutexattr_setpshared'
/usr/lib/libdb.so: undefined reference to `pthread_mutexattr_init'
/usr/lib/libdb.so: undefined reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
make: *** [master] Error 1
make: *** [update] Error 1
make: *** [update] Error 2
==> ERROR: Build Failed.  Aborting...

So I rebuild db-4.2.52 via abs and typed a

pacman -U db-4.2.52-1.pkg.tar.gz

This solved the problem. In fact, I returned to the previous state.

Maybe postfix package needs a little upgrade to work with last db version ?

Offline

Board footer

Powered by FluxBB