DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30023>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30023 Configure can't find Berkeley DB Summary: Configure can't find Berkeley DB Product: Apache httpd-2.0 Version: 2.0.50 Platform: Other OS/Version: AIX Status: NEW Severity: Normal Priority: Other Component: Build AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] configure in srclib/aprs-util fails to find the Berkeley DB on AIX 5.2 using the IBM C Compiler. The result is the following (as shown in the config.log) configure:16370: cc -o conftest -O3 -I/usr/local/BerkeleyDB.4.1/include - qHALT=E -U__STR__ -D_THREAD_SAFE -D_USE_ IRS -I/usr/local/BerkeleyDB.4.1/include -L/usr/local/BerkeleyDB.4.1/lib conftest.c -L/usr/local/lib -ldb-4.1 >&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_mutex_init 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_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 I can fix it by adding the -lpthread. The diff of the configure file shows < LIBS="$LIBS -l$apu_try_berkeley_db_libname" --- > LIBS="$LIBS -l$apu_try_berkeley_db_libname -lpthreads" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
