httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30023] New: - Configure can't find Berkeley DB
Date Sat, 10 Jul 2004 12:27:49 GMT
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: bugs@httpd.apache.org
        ReportedBy: garlic@garlic.com


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message