Cyrus IMAP 2.1.12 and Berkeley 4.1.25

Patrick Morris pmorris at wilshire.com
Fri May 2 12:54:55 EDT 2003


Looks like libpthread isn't being linked.  You might try setting the 
"LIBS" environment variable to "-lpthread" and running configure again.

Joe Rhodes wrote:

> Patrick:
>
> DOH!  I forget the simplest things.  Looks like it is an issue with 
> the mutex that's being auto selected:
>
> configure:2848: checking for db_create in -ldb-4.1
> configure:2867: gcc -o conftest -Wall -g -O2  -L/usr/local/lib
> -Wl,-rpath,/usr/local/lib  conftest.c -ldb-4.1   -lresolv  1>&5
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb-4.1.so: 
> undefined reference to `pthread_condattr_setpshared'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb-4.1.so: 
> undefined reference to `pthread_mutexattr_destroy'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb-4.1.so: 
> undefined reference to `pthread_mutexattr_setpshared'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb-4.1.so: 
> undefined reference to `pthread_mutexattr_init'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libdb-4.1.so: 
> undefined reference to `pthread_mutex_trylock'
> collect2: ld returned 1 exit status








More information about the Info-cyrus mailing list