[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help sought for #195857: FTBFS llibsendmail-milter-perl on alpha, ia64, sparc

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.


Reply to: