swi-prolog-jpl: library jpl fails to load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
swi-prolog (Debian) |
New
|
Unknown
|
|||
swi-prolog (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: swi-prolog
I am using Ubuntu Lucid Lynx (10.04). Trying to load the jpl library fails with:
ERROR: /usr/lib/
Exported procedure jpl:jpl_
Note that calling Prolog from Java works (packages/
However, when I use swi-prolog 5.11.1 built from source, everything works as advertised. I have 5.8.0 installed from the official Ubuntu packages, and 5.11.1 from source (at /usr/local/...). Uninstalling either doesn't change the behaviour.
Here is the output, along with the appropriate environment variables:
== using 5.8.0 official ubuntu package: ==
LD_LIBRARY_
SWI_HOME_
PATH=/home/
CLASSPATH=
JAVA_HOME=
Using LD_PRELOAD=
% library(swi_hooks) compiled into pce_swi_hooks 0.00 sec, 3,616 bytes
Welcome to SWI-Prolog (Multi-threaded, 64 bits, Version 5.8.0)
Copyright (c) 1990-2009 University of Amsterdam.
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
Please visit http://
For help, use ?- help(Topic). or ?- apropos(Word).
?- [library(jpl)].
% library(error) compiled into error 0.01 sec, 17,688 bytes
% library(lists) compiled into lists 0.01 sec, 42,616 bytes
ERROR: /usr/lib/
Exported procedure jpl:jpl_
% library(jpl) compiled into jpl 0.03 sec, 662,512 bytes
true.
== using pl-5.11.1 built from source: ==
LD_LIBRARY_
SWI_HOME_
PATH=/home/
CLASSPATH=
JAVA_HOME=
Using LD_PRELOAD=
% library(swi_hooks) compiled into pce_swi_hooks 0.00 sec, 3,856 bytes
Welcome to SWI-Prolog (Multi-threaded, 64 bits, Version 5.11.1)
Copyright (c) 1990-2010 University of Amsterdam, VU Amsterdam
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
Please visit http://
For help, use ?- help(Topic). or ?- apropos(Word).
?- [library(jpl)].
% library(error) compiled into error 0.00 sec, 18,224 bytes
% library(lists) compiled into lists 0.00 sec, 44,688 bytes
% library(jpl) compiled into jpl 0.03 sec, 697,576 bytes
true.
Changed in swi-prolog (Debian): | |
status: | Unknown → New |
BTW, I am on a AMD64 system.
Linux caprica 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux