Gentoo Archives: gentoo-dev

From: Matti Bickel <mabi@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Relinking fun with libtool
Date: Tue, 16 Aug 2011 22:31:52
Message-Id: 4E4AEF93.3060304@gentoo.org
1 Hi folks,
2
3 coming back from an extended vacation I found bug #351266[1] still open.
4 The root cause of this install failure seems to be libtool trying to
5 relink php's apache module. I'm not entirely sure what causes this (as
6 my system doesn't relink the library), but more importantly I failed to
7 find information on what's the best way to deal with this situation. So
8 far, every google hit I've found suggested that just going ahead w/o
9 relinking worked fine, which also seems to be the case in the referenced
10 bug.
11
12 So that leaves me with either:
13 a) remove the relink_command from libphp5.la before calling emake
14 install-sapi
15 b) modifying the libdir in libphp5.la before calling emake install-sapi
16 to point to $D/usr/lib/...
17 c) finding out why libtool decides it needs to relink at all.
18
19 Clearly, requiring users to edit the la file by hand is no solution.
20
21 I've not found other ebuilds dealing with relinking, so is this me just
22 misunderstanding how libtool works or an issue with php's build system?
23 I'm quite at a loss here. I'd be glad if somebody with more libtool
24 knowledge can shed some light (or point me to some docs) on why
25 relinking is necessary here at all and how to fix this breakage.
26
27 [1]https://bugs.gentoo.org/show_bug.cgi?id=351266

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: Relinking fun with libtool Duncan <1i5t5.duncan@×××.net>