|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Postfix/Berkley DB 4.2 compile problems
From: Adam Clark (adam.clark
ngv.vic.gov.au)
Date: Thu Apr 01 2004 - 21:58:01 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hey all again,
I'm compiling ldap for exchange lookups, it requires Berkley DB, so I
compiled it up (no options) and installed
ldap linked against it ok, but when I try to compile postfix I get the
error below. There is no option
in the configure script for berkley db to turn off or on pthreads.
Redhat 9
[root
mx0 postfix-2.0.19]# uname -a
Linux mx0 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386
GNU/Linux
gcc -Wmissing-prototypes -Wformat -DHAS_DB
-I/usr/local/BerkeleyDB.4.2/include -DHAS_PCRE -I/usr/local/include -g
-O -I. -I../../include -DLINUX2 -o master master.o master_conf.o
master_ent.o master_sig.o master_avail.o master_spawn.o master_service.o
master_status.o master_listen.o master_vars.o master_wakeup.o
master_flow.o ../../lib/libglobal.a ../../lib/libutil.a
-L/usr/local/BerkeleyDB.4.2/lib -ldb-4.2 -L/usr/local/lib -lpcre -ldb
-lnsl -lresolv
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so: undefined reference to
`pthread_condattr_setpshared'
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so: undefined reference to
`pthread_mutexattr_destroy'
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so: undefined reference to
`pthread_mutexattr_setpshared'
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so: undefined reference to
`pthread_mutexattr_init'
/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so: undefined reference to
`pthread_mutex_trylock'
collect2: ld returned 1 exit status
gmake: *** [master] Error 1
gmake: *** [update] Error 1
Adam Clark
Network Administrator
National Gallery of Victoria
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]