Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180739 - apache-2.0.58-r2 fails to build: libtool: link: cannot find the library `/usr/lib/libdb-4.2.la'
Summary: apache-2.0.58-r2 fails to build: libtool: link: cannot find the library `/usr...
Status: VERIFIED DUPLICATE of bug 92212
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-03 15:00 UTC by Muelli
Modified: 2007-06-03 17:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge log (net-www:apache-2.0.58-r2:20070603-152529.log,87.19 KB, text/plain)
2007-06-03 15:40 UTC, Muelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Muelli 2007-06-03 15:00:18 UTC
Hi.

emerge -uDavN world wants to rebuild apache2 but it fails:

~ # emerge -tv apache

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] net-www/apache-2.0.58-r2  USE="apache2 ldap ssl threads -debug -doc -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules (-no-suexec%)" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB

>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-www/apache-2.0.58-r2 to /



>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58 ...
[...]

/usr/share/apr-0/build/libtool --silent --mode=link i686-pc-linux-gnu-gcc  -pthread  -O2 -pipe -march=pentium3 -fomit-frame-pointer  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER   -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/os/unix -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/server/mpm/worker -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/http -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/filters -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/proxy -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/include -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/generators -I/usr/include/openssl -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/dav/main -export-dynamic -L/usr/lib   -o htpasswd  htpasswd.lo   -lz -lssl -lcrypto -ldl /var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/srclib/pcre/libpcre.la /usr/lib/libaprutil-0.la -lldap -llber -lgdbm -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl
/usr/share/apr-0/build/libtool --silent --mode=link i686-pc-linux-gnu-gcc  -pthread  -O2 -pipe -march=pentium3 -fomit-frame-pointer  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER   -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/os/unix -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/server/mpm/worker -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/http -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/filters -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/proxy -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/include -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/generators -I/usr/include/openssl -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/dav/main -export-dynamic -L/usr/lib   -o htdigest  htdigest.lo   -lz -lssl -lcrypto -ldl /var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/srclib/pcre/libpcre.la /usr/lib/libaprutil-0.la -lldap -llber -lgdbm -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl
libtool: link: cannot find the library `/usr/lib/libdb-4.2.la'
libtool: link: cannot find the library `/usr/lib/libdb-4.2.la'
make[2]: *** [htpasswd] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [htdigest] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/support'
make: *** [all-recursive] Error 1

!!! ERROR: net-www/apache-2.0.58-r2 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  apache-2.0.58-r2.ebuild, line 181:   Called die

!!! problem compiling apache2
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/net-www:apache-2.0.58-r2:20070603-143553.log'.

As the error states, libdb was not found. Maybe one should add this dependency to the ebuild?

But I have
sys-libs/db-4.3.29-r2  USE="-bootstrap -doc -java -nocxx -tcl -test"

installed...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-03 15:03:51 UTC
Run revdep-rebuild and/or re-emerge apr apr-util; not an Apache bug.


*** This bug has been marked as a duplicate of bug 92212 ***
Comment 2 Muelli 2007-06-03 15:40:09 UTC
Created attachment 121040 [details]
emerge log

even a remerge of sys-libs/db doesn't help. Here the emerge log
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-03 15:43:09 UTC
(In reply to comment #2)
> even a remerge of sys-libs/db doesn't help. Here the emerge log

I guess you should re-read Comment #1.
Comment 4 Muelli 2007-06-03 17:13:54 UTC
I'm sorry. Didn't see it.

It works. You maybe want to produce some valueable error message, instead of this "cannot find the library `/usr/lib/libdb-4.2.la'", to prevent others from posting this as a bug here.

Regards
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-06-03 17:19:15 UTC
(In reply to comment #4)
> You maybe want to produce some valueable error message, instead of
> this "cannot find the library `/usr/lib/libdb-4.2.la'", to prevent others from
> posting this as a bug here.

Can't really produce any app-specific error messages; it comes from libtool itself.