Hi, This was because linking was done with a static library. Linking with dynamic library does not have the problem. This should be fixed in version 6.2.6-3 where static library was moved to /usr/lib.
This has disadvantage of linking with a library that doesn't have stable ABI.
I set shlibs dependencies to this:
libswipl 6.2.6 swi-prolog-nox (>= 6.2.6~), swi-prolog-nox (<< 6.2.6.0~)
So logol will require bin-NMU after next upstream release, but I think
it is better then using a static library. In the later case I think
logol will be silently broken.
In any case I still cannot compile logol, it fails during checks. I have
no idea what is broken there.
Regards,
Eugeniy Meshcheryakov
24 травня 2013 о 14:02 +0200 Olivier Sallou написав(-ла):
> I could make a successful compilation by manually adding paths to
> libraries and installing required dependency libunwind and libunwind-dev:
>
> swipl-ld -L/lib/x86_64-linux-gnu/ -L/usr/lib/x86_64-linux-gnu -lgmp -ldl
> -lquadmath -lcurses -lunwind -v -o test test.c test.pl
>
>
> Swipl seems to need libunwind, it should be added to Deps.
>
> Compilation should not require "system" deps.
>
> Olivier
>
> --
>
>
> gpg key id: 4096R/326D8438 (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
signature.asc
Description: Digital signature

