Hi folks,

coming back from an extended vacation I found bug #351266[1] still open.
The root cause of this install failure seems to be libtool trying to
relink php's apache module. I'm not entirely sure what causes this (as
my system doesn't relink the library), but more importantly I failed to
find information on what's the best way to deal with this situation. So
far, every google hit I've found suggested that just going ahead w/o
relinking worked fine, which also seems to be the case in the referenced
bug.

So that leaves me with either:
a) remove the relink_command from libphp5.la before calling emake
install-sapi
b) modifying the libdir in libphp5.la before calling emake install-sapi
to point to $D/usr/lib/...
c) finding out why libtool decides it needs to relink at all.

Clearly, requiring users to edit the la file by hand is no solution.

I've not found other ebuilds dealing with relinking, so is this me just
misunderstanding how libtool works or an issue with php's build system?
I'm quite at a loss here. I'd be glad if somebody with more libtool
knowledge can shed some light (or point me to some docs) on why
relinking is necessary here at all and how to fix this breakage.

[1]https://bugs.gentoo.org/show_bug.cgi?id=351266

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to