Bug#892910: libsundials-serial-dev: Fails to link when making shared object using these libs

Sébastien Villemot sebastien at debian.org
Thu Mar 15 11:09:30 UTC 2018


Control: retitle -1 please provide shared libraries for Fortran interfaces
Control: severity -1 wishlist

Dear Rodrigo,

On Wed, Mar 14, 2018 at 08:57:06AM -0300, Rodrigo wrote:
> Package: libsundials-serial-dev
> Version: 2.5.0-3+b3
> Severity: important

> Trying to compile against the libs shows the following error:
> 
> /usr/bin/ld: /usr/lib/libsundials_fkinsol.a(fkinsol.o): relocation R_X86_64_32
> against symbol `FKINfunc' can not be used when making a shared object;

> Recompiling with -fPIC solves the issue.

You are apparently linking a shared object with the static library
libsundials_fkinsol.a. So the failure is expected.

The problem is rather that there is no shared library version of fkinsol (the
Fortran interface for KINSOL). So I'm turning this bug into a wishlist for such
a shared library.

Note that changes to the build system will be required, because upstream does
not currently support that possibility.

Best,

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  http://www.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20180315/b3ddafdd/attachment-0001.sig>


More information about the debian-science-maintainers mailing list