You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Zaven Akopov <ak...@mail.desy.de> on 2003/04/28 20:53:28 UTC

[users@httpd] Problem building Apache 2 on SuSE

Hi all,

I'm sure this has been addressed before, as I've been able to find several
message in archive re: this issue, but failed to find any answer messages.
While building Apache 2.0.45, I get an error connected with libaprutil.
While configure runs fine, subsequent make eventually comes to error.

Details:

--System
Linux bogus 2.2.20 #6 SMP Thu Apr 18 15:16:31 MEST 2002 i686 unknown
--Gcc
gcc version 2.95.2 19991024 (release)
--Libtool
ltmain.sh (GNU libtool) 1.3.5 (1.385.2.206 2000/05/27 11:12:27)

--Full libtool line that generates the error, and the error itself:

/bin/sh /root/apache/tst/httpd-2.0.45/srclib/apr/libtool --silent
--mode=compile gcc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER
-I/root/apache/tst/httpd-2.0.45/srclib/apr/include
-I/root/apache/tst/httpd-2.0.45/srclib/apr-util/include
-I/root/apache/tst/httpd-2.0.45/srclib/apr-util/xml/expat/lib -I.
-I/root/apache/tst/httpd-2.0.45/os/unix
-I/root/apache/tst/httpd-2.0.45/server/mpm/prefork
-I/root/apache/tst/httpd-2.0.45/modules/http
-I/root/apache/tst/httpd-2.0.45/modules/filters
-I/root/apache/tst/httpd-2.0.45/modules/proxy
-I/root/apache/tst/httpd-2.0.45/include
-I/root/apache/tst/httpd-2.0.45/modules/dav/main -prefer-non-pic -static
-c htpasswd.c && touch htpasswd.lo
/bin/sh /root/apache/tst/httpd-2.0.45/srclib/apr/libtool --silent
--mode=link gcc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER
-I/root/apache/tst/httpd-2.0.45/srclib/apr/include
-I/root/apache/tst/httpd-2.0.45/srclib/apr-util/include
-I/root/apache/tst/httpd-2.0.45/srclib/apr-util/xml/expat/lib -I.
-I/root/apache/tst/httpd-2.0.45/os/unix
-I/root/apache/tst/httpd-2.0.45/server/mpm/prefork
-I/root/apache/tst/httpd-2.0.45/modules/http
-I/root/apache/tst/httpd-2.0.45/modules/filters
-I/root/apache/tst/httpd-2.0.45/modules/proxy
-I/root/apache/tst/httpd-2.0.45/include
-I/root/apache/tst/httpd-2.0.45/modules/dav/main -export-dynamic
-L/root/apache/tst/httpd-2.0.45/srclib/apr-util/xml/expat/lib   -o
htpasswd  htpasswd.lo
/root/apache/tst/httpd-2.0.45/srclib/pcre/libpcre.la
/root/apache/tst/httpd-2.0.45/srclib/apr-util/libaprutil-0.la -lgdbm -ldb
/root/apache/tst/httpd-2.0.45/srclib/apr-util/xml/expat/lib/libexpat.la
/root/apache/tst/httpd-2.0.45/srclib/apr/libapr-0.la -lm -lcrypt -lnsl
-lresolv -ldl
/root/apache/tst/httpd-2.0.45/srclib/apr-util/.libs/libaprutil-0.so:
undefined reference to `db_create'
/root/apache/tst/httpd-2.0.45/srclib/apr-util/.libs/libaprutil-0.so:
undefined reference to `db_strerror'
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/root/apache/tst/httpd-2.0.45/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/apache/tst/httpd-2.0.45/support'
make: *** [all-recursive] Error 1

--------------------------------------------------------------------

There seem to be no references to this db_create in the libaprutil-0.so
itself, so it's quite unclear where does this error come from in the
first place.
I would appreciate any advice on how to overcome this problem.

Thanks,

--Z.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org