Summary: | www-servers/apache USE=ssl with SYMLINK_LIB=no LIBDIR_x86=lib - /usr/lib/libdb-4.8.so: could not read symbols: File in wrong format | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Tsoy <alexander> |
Component: | [OLD] Server | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym, multilib+disabled |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 506276 | ||
Attachments: |
build.log
apache-tools-2.2.27.ebuild.patch apache-2.2.27.ebuild.patch |
Description
Alexander Tsoy
2014-07-03 22:02:36 UTC
Created attachment 380140 [details, diff]
apache-tools-2.2.27.ebuild.patch
Quick fix
Created attachment 380146 [details, diff]
apache-2.2.27.ebuild.patch
Quick fix
A similar error occurs in the 2.4 branch, but requires a different fix due to build system changes. Am I the only one who uses SYMLINK_LIB=no? This is still broken. As far as I can tell, the only change needed is the below chunk to apache-2.eclass: @@ -270,7 +270,7 @@ fi if use ssl ; then - MY_CONF+=( --with-ssl="${EPREFIX}"/usr --enable-ssl=${mod_type} ) + MY_CONF+=( --with-ssl --enable-ssl=${mod_type} ) MY_MODS+=( ssl ) else MY_CONF+=( --without-ssl --disable-ssl ) When --with-ssl="${EPREFIX}"/usr is used the configure script reads the OpenSSL pkgconfig file from /usr/lib/pkgconfig because it interprets the "/usr" to be a "stand-alone install" prefix with no handling for a system prefix which is of course what is being specified. I've been using this in my multilib fixes overlay for the last few years without issue. (In reply to Steven Newbury from comment #4) you're obviously not the only one that uses SYMLINK_LIB=no. but if you read the bug, it's also obvious that simply running that setup is not sufficient to trigger this bug. you have to (1) have SYMLINK_LIB=no (2) run a multilib setup (3) have multilib builds of both openssl and db and (4) build apache with USE=ssl. i've been building apache for a long time w/SYMLINK_LIB=no, but i don't have a lot of x86 multilib installs because i don't need them. i've pushed your patch here: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3bcb27dfa43b87e8e67f8cc23f16816630b563c thanks! |