Re: Help sought for #195857: FTBFS llibsendmail-milter-perl on alpha, ia64, sparc
- To: Hilko Bengen <bengen@debian.org>
- Cc: debian-alpha@lists.debian.org, debian-ia64@lists.debian.org, debian-hppa@lists.debian.org, debian-perl@lists.debian.org
- Subject: Re: Help sought for #195857: FTBFS llibsendmail-milter-perl on alpha, ia64, sparc
- From: Brendan O'Dea <bod@debian.org>
- Date: Wed, 8 Oct 2003 21:09:09 +1000
- Message-id: <[🔎] 20031008110909.GA11821@londo.c47.org>
- Mail-followup-to: Hilko Bengen <bengen@debian.org>, debian-alpha@lists.debian.org, debian-ia64@lists.debian.org, debian-hppa@lists.debian.org, debian-perl@lists.debian.org
- In-reply-to: <[🔎] 87n0ccm3va.fsf@debian.org>
- References: <[🔎] 87n0ccm3va.fsf@debian.org>
On Wed, Oct 08, 2003 at 03:27:53AM +0200, Hilko Bengen wrote:
>I am trying to track down the reason why Sendmail::Milter which are
>Perl bindings for Sendmail's Milter library is not building on the
>architectures mentioned above.
>
>The buildd logs can be viewed at
><http://buildd.debian.org/build.php?pkg=libsendmail-milter-perl> and
>it appears to me that the reasons why linking fails are the same on
>all three platforms--the linker can't create a shared object file from
>a static library. Am I reading ld's error message correctly?
The dynamic linker on these architectures requires all objects to be
compiled with -fPIC (including those extracted from ar libraries). This
doesn't preclude you from linking with libmilter.a, merely that it must
be built with -fPIC.
>Am I assuming correctly that the linking stage would work fine if
>there was a libmilter.so? (No shared library is built from sendmail
>source, at the moment.)
Presumably, although as noted above you could also ask the sendmail
maintainer to build libmilter with -fPIC.
--bod
Reply to: