Bug#310226: [Pkg-octave-devel] Bug#310226: octave2.9: FTBFS: linking a shared lib to a static lib fails.

Falk Hueffner Falk Hueffner <falk@debian.org>, 310226@bugs.debian.org
Thu, 09 Jun 2005 19:52:02 +0200

Rafael Laboissiere <rafael@debian.org> writes:

> * Kurt Roeckx <kurt@roeckx.be> [2005-05-22 16:23]:
>> Your package is failing to build on a few arches (atleast hppa
>> and amd64) because when you're creating the shared lib you're
>> linking to a static version.
> This is actually an upstream problem.  It is trivial nowadays to add
> Libtool support to a package and have shared libraries available.  I
> am attaching below two slim patches for the glpk package which add
> Libtool support.

As README.Debian explains, glpk is not reentrant, so there cannot be a
shared library. So one could either try to fix that (which is probably
difficult), or build a nonshared PIC library. Is that also possible
with libtool?