Summary: | net-nds/openldap-2.1.30-r2: slapd link fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yaakov S <yselkowitz> |
Component: | [OLD] Unspecified | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | config.log |
Description
Yaakov S
2004-11-22 20:46:13 UTC
please attach the config.log file. Created attachment 44694 [details]
config.log
Attaching config.log per request.
can you try -r3 and see if that solves your problems? Tried -r3 with the same results. The problem appears to be with how it deals with static and shared libraries. I have EXTRA_ECONF="--disable-static" set in /etc/make.conf, which generally doesn't cause any problems, since this is used almost exclusively by libtooled packages which can deal with this properly, and non-libtooled packages just ignore the flag. It appears as openldap is an exception; it's not libtooled, but it accepts --disable-static, it seems that it doesn't know how to handle it properly. In the meantime I called EXTRA_ECONF="" emerge openldap and it worked; but its still a bug in openldap's build system. I suppose if it can't be fixed easily than the workaround would be to filter out the --disable-static flag. I spoke to other developers, and the general consensus is that ebuilds should NOT touch the value EXTRA_ECONF whatsoever. So I'd say either write up a patch for openldap to build correctly with --disable-static, or just stop using EXTRA_ECONF with openldap. OK, after having more experience with portage, I see the solution is simpler; just add --enable-static to myconf. Since arguments to econf are appended to EXTRA_ECONF (see ebuild(5)), then configure will see "--disable-static ... --enable-static ..." and follow the latter. I tested this on my system and it works, w/o "messing" with EXTRA_ECONF. FWIW, there is precedence for this, among others: app-crypt/mhash dev-db/mysql media-libs/alsa-lib net-fs/samba I've put a fix in 2.1.30-r4, if you'd like to try it and report back. 2.1.30-r4 WFM. Thanks! ok, closing thanks. |