java - How to solve "Symbol lookup error" by using JPL on Ubuntu11.04? -
i'm coding program in java , connect prolog. thus, decided use jpl. use jpl on windows vista. later, have change os platform ubuntu 11.04. unfortunately, there error:
symbol lookup error: /usr/lib/swi-prolog/lib/i386/libjpl.so: undefined symbol: pl_is_initialised
environment:
- ubuntu 11.04
- java version 1.6.0_24
- eclipse galileo version: 3.5.2
- swi-prolog version 5.10.1 i386
- jpl (apt-get install swi-prolog-java)
- family.java + family.pl
i explain steps of working , problems follows. step1: install swi-prolog + jpl using synaptic package manager
step2: run family.java , found error
step3: configure library path @ vmarguments step4: run again, there error /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java: symbol lookup error: /usr/lib/swi-prolog/lib/i386/libjpl.so: undefined symbol: pl_is_initialised step5: config environment error still same.
the method used solve problem in step 3 , 5 searched internet. can not find other solutions try. have idea?
in advance.
you have config ld_library_path
, think. try add location of so-library file. , make sure, system.loadlibrary();
call relative.
Comments
Post a Comment