segmentation fault pyswip with swipl 6.6.4 on Ubuntu 14.04
117 views
Skip to first unread message
y f
unread,
Sep 15, 2016, 12:26:28 PM9/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyswip
Hi all,
I've been trying to use pyswip and no such luck. Installed using apt-get and linked libswipl.so to libpl.so. After the following commands: $ python $ from pyswip import Prolog $ prolog = Prolog() everything seems fine. But at $ prolog.assertz("father(michael,john)") I get "segmentation fault (core dumped)".
Tried installing from source 6.6.4 and 7.2.3 using the following in the source folder: $ ./configure --prefix=/usr --enable-shared $ make $ sudo make install
This doesn't appear to create a shared library. No libswipl.so or libpl.so.
Help appreciated!
y f
unread,
Sep 15, 2016, 12:28:27 PM9/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message