When sys-libs/db-4.2.52_p2 is installed, net-www/apache-2.0.53 will neither start nor emerge without error. Apache looks for libdb-4.1.so when it should be libdb-4.2.so. Reproducible: Didn't try Steps to Reproduce: 1. USE="java" emerge =sys-libs/db-4.2.52_p2 2. USE="apache2 ssl" emerge =net-www/apache-2.0.53 Actual Results: apache ebuild errors out with: /usr/lib/libaprutil-0.la -lgdbm -ldb -lexpat /usr/lib/libapr-0.la -lrt -lm -lcr ypt -lnsl -lpthread -ldl /usr/lib/libaprutil-0.so: undefined reference to `db_create_4001' /usr/lib/libaprutil-0.so: undefined reference to `db_strerror_4001' collect2: ld returned 1 exit status make[2]: *** [htpasswd] Error 1 If apache is already installed it will not start with error: Apache2 has detected a syntax error in your configuration files: /usr/sbin/apache2: error while loading shared libraries: libdb-4.1.so: cannot op en shared object file: No such file or directory Expected Results: Apache should point to libdb-4.2.so instead of libdb-4.1.so and should emerge/start properly emerge -pv =sys-libs/db-4.1.25_p1-r4 Will fix the problem, but since net-www/apache-2.0.53 and sys-libs/db-4.2.52_p2 were the default versions for emerge apache db, I thought it should be mentioned.
Tried rebuilding apache by chance? Pwning this off to the responsible group...
Do you have seperate apr/apr-util packages? In that case please remerge them.
I had the same problem and re-emerging apr/apr-util fixed it, a situation where portage needs more intelligence.
I have seen this several times and re-emerging of apr/apr-utils always fixed that; revdep-rebuild always failed miserably. Maybe some ewarn should be put into apache ebuilds.
*** Bug 100319 has been marked as a duplicate of this bug. ***
seems the solution is to recompile apr and apr-util
*** Bug 134117 has been marked as a duplicate of this bug. ***
*** Bug 177942 has been marked as a duplicate of this bug. ***
*** Bug 179647 has been marked as a duplicate of this bug. ***
*** Bug 180739 has been marked as a duplicate of this bug. ***