Re: Undefined procedure on foreign library in 6.6.4
jon judge <[email protected]> Thu, 3 Apr 2014 03:22:23 -0700 (PDT)
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <1396520543766-14696.post__21518.3196393356$1396530427$gmane$org@n3.nabble.com> |
$ readelf -d libtestfo.so | grep NEEDED 0x00000001 (NEEDED) Shared library: [libpthread.so.0] 0x00000001 (NEEDED) Shared library: [libc.so.6] $ whereis libswipl.so libswipl: /usr/lib/libswipl.so So libswipl.so exists, and together with SWI-Prolog.h installed as part of the package install, I'm able to build the original 'c' code using this lib without errors. ie not a static build with source code. I'm not clear on what the swipl-ld then does or needs re:static/dynamic builds. I'm right at the edge of my knowledge re: c and build stuff here.. as you can probably tell. Not sure if the above is relevant or useful. -- View this message in context: http://swi-prolog.996271.n3.nabble.com/Undefined-procedure-on-foreign-library-in-6-6-4-tp14676p14696.html Sent from the SWI Prolog mailing list archive at Nabble.com.