[Exim] exim 4.20 build error

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jon Roberts
Dátum:  
Címzett: exim-users
Tárgy: [Exim] exim 4.20 build error
First, let me say I've used exim in the past with success. Thanks for a
great open source product.

My previous installation was from an RPM on an older version of RedHat
Linux. Now I'm attempting to build/install Exim 4.20 on a RH 9.0
machine. I already installed Berkeley DB 4.1.25, and specified
USE_DB=yes in my Makefile. With make, I get:

gcc -o exim_dbmbuild exim_dbmbuild.o \
-lnsl -lcrypt -ldb
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb.so: undefined
reference to `pthread_condattr_setpshared'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb.so: undefined
reference to `pthread_mutexattr_destroy'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb.so: undefined
reference to `pthread_mutexattr_setpshared'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb.so: undefined
reference to `pthread_mutexattr_init'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb.so: undefined
reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
make[1]: *** [exim_dbmbuild] Error 1

The libdb.so is a static link to libdb-4.1.so in /usr/lib. Both the link
and the file came with my installation of bdb, not from redhat. I
couldn't find anything in the list archives, so I thought I'd subscribe
and post.

What might be the problem? Can it be solved?

Jon Roberts
www.mentata.com