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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.