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.
In reply to Re^2: What's happened to Yaswi?
by Eliya
in thread What's happened to Yaswi?
by Steve_BZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |