in reply to Re: What's happened to Yaswi?
in thread What's happened to Yaswi?
I think adjusting LD_LIBRARY_PATH won't help here, as the problem rather seems to be that .../Low.so isn't even linked against the Prolog library libswipl.so in the first place (which then of course leads to the "undefined symbol: PL_open_foreign_frame" error).
The link command does add a link-time library search path for swi-prolog
cc -shared -O2 -g -L/usr/local/lib -fstack-protector Low.o callba +ck.o callperl.o hook.o perl2swi.o swi2perl.o plconfig.o argv.o query. +o vars.o context.o engines.o o +paque.o -o ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so \ -lgmp -lrt -lreadline -lncurses -lm -lrt -ldl -L/usr/lib/sw +i-prolog/lib/i386/ ^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^
but the actual link instruction -lswipl, which should follow it, is missing... even though the library is listed as "PLLIB: -lswipl" in the SWI-Prolog configuration check.
The message "No library found for -lpl" suggests that it's looking for libpl.so instead of libswipl.so.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: What's happened to Yaswi?
by salva (Canon) on Aug 24, 2011 at 13:20 UTC | |
by Steve_BZ (Chaplain) on Aug 24, 2011 at 15:36 UTC | |
by salva (Canon) on Aug 24, 2011 at 18:27 UTC | |
|
Re^3: What's happened to Yaswi?
by Anonymous Monk on Aug 24, 2011 at 12:55 UTC | |
by Eliya (Vicar) on Aug 24, 2011 at 13:13 UTC | |
by Anonymous Monk on Aug 24, 2011 at 13:16 UTC | |
by Eliya (Vicar) on Aug 24, 2011 at 14:59 UTC | |
by Anonymous Monk on Aug 24, 2011 at 15:32 UTC |