On Fri, Apr 30, 2004, Aaron Bostick wrote:
> I am trying to build the src rpm for apache2 and it is dieing with
> unresolved symbols in apr pertaining to berkeley db. I have tried the 2.0
> apache2 version and the current apache2 version. I am running openpkg
> 2.0.2. Below is the compile error:
>
> /opkg/RPM/TMP/httpd-2.0.49/srclib/apr-util/.libs/libaprutil-0.a(apr_dbm_berkeleydb.o
> (.text+0x5d): In function `set_error':
> : undefined reference to `db_strerror'
> /opkg/RPM/TMP/httpd-2.0.49/srclib/apr-util/.libs/libaprutil-0.a(apr_dbm_berkeleydb.o
> (.text+0xd3): In function `vt_db_open':
> : undefined reference to `db_create'
> collect2: ld returned 1 exit status
> make[2]: *** [htdbm] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.58363 (%build)
>
> RPM build errors:
> Bad exit status from /opkg/RPM/TMP/rpm-tmp.58363 (%build)
>
> Apr's configure is looking for db4-1 and thinks it finds it even though I am
> running the current db, which is 4.2.52. Any ideas?
Yes, seems like APR picks up a different Berkeley-DB from your system.
What platform are you trying this under? It works fine for my under
FreeBSD 4.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]