configure error on AIX 5.1 [auf Viren überprüft]
Hans Moser
hans.moser at ofd-sth.niedersachsen.de
Tue Sep 6 05:46:25 EDT 2005
Hi!
I can't configure imapd 2.2.12 on AIX 5.1. BDB 4.2 is installed.
db.h is in /usr/local/include.
libs are in /usr/local/lib.
configure.log shows the following errors (excerpt):
It was created by configure, which was
generated by GNU Autoconf 2.57. Invocation command line was
$ ./configure CFLAGS=-I /usr/local/include --prefix=/opt/mail
--with-cyrus-user=cyrus --with-cyrus-group=mail
--with-sasl-dir=/opt/mail --enable-netscapehack
--with-openssl=/usr/local/ssl --with-auth=unix --enable-murder
--with-mboxlist_db=skiplist --enable-annotatemore --with-perl=PERL
--without-ucdsnmp --with-syslogfacility=DAEMON --with-com_err=yes
--enable-nntp --with-idle=idled --with-bdb=/usr/local
--with-bdb-libdir=/usr/local/lib --with-bdb-incdir=/usr/local/include
[...]
configure:6635: gcc -o conftest -I /usr/local/include
-I/usr/local/include -L/u
sr/local/lib conftest.c -ldb-4.2 >&5
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_cond_signal
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_trylock
ld: 0711-317 ERROR: Undefined symbol: .pthread_cond_wait
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutexattr_init
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutexattr_setpshared
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutexattr_destroy
ld: 0711-317 ERROR: Undefined symbol: .pthread_condattr_init
ld: 0711-317 ERROR: Undefined symbol: .pthread_condattr_setpshared
ld: 0711-317 ERROR: Undefined symbol: .pthread_cond_init
ld: 0711-317 ERROR: Undefined symbol: .pthread_condattr_destroy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
configure:6638: $? = 1
configure: failed program was:
| #line 6618 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define CYRUS_PATH "/usr/cyrus"
| #define SERVICE_PATH "/usr/cyrus/bin"
| #define CYRUS_USER "cyrus"
| #define SYSCONFDIR "/etc"
| #define _ALL_SOURCE 1
| #define HAVE_LONG_FILE_NAMES 1
| #define HAVE___ATTRIBUTE__ 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_MEMMOVE 1
| #define HAVE_STRCASECMP 1
| #define HAVE_FTRUNCATE 1
| #define HAVE_STRERROR 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DN_EXPAND 1
| #define HAVE_GETADDRINFO
| #define HAVE_GETNAMEINFO
| #define HAVE_SOCKADDR_SA_LEN
| #define HAVE_SYS_TIME_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_TZNAME 1
| #define HAVE_VPRINTF 1
| #define HAVE_DOPRNT 1
| /* end confdefs.h. */
| #include <db.h>
| int
| main ()
| {
| db_create(NULL, NULL, 0);
| ;
| return 0;
| }
configure:6635: gcc -o conftest -I /usr/local/include
-I/usr/local/include -L/u
sr/local/lib conftest.c -ldb4.2 >&5
collect2: library libdb4.2 not found
Hans
More information about the Info-cyrus
mailing list