jpl seems to install ok, but trouble when running

[email protected] Tue, 11 Jan 2000 16:05:18 +0100
Newsgroups perl.jpl
Message-ID <[email protected]>
I've been trying to use JPL to call perl from java.
(http://builder.cnet.com/Programming/Perl/ss01.html)
 
I'm using the JPL that is bundled with my perl - version 5.005_63
 
1)    It seems to install properly:
      - 'make' makes .jpl files into .java, .pl etc. with flying colours
- 'make install' installs my application without problems
 
2)    Both perl and java runs smoothly on their own
 
3)    However - when I try calling my program an exception is thrown:
Exception in thread "main" java.lang.UnsatisfiedLinkError: 
/usr/local/perl5.005_63/jpl/Sample/Sample.so:
/usr/local/perl5.005_63/jpl/lib/i686-linux/libPerlInterpreter.so: undefined
symbol: perl_eval_pv
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java, Compiled Code)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java, Compiled
Code)
        at java.lang.Runtime.loadLibrary0(Runtime.java, Compiled Code)
at java.lang.System.loadLibrary(System.java, Compiled Code)         at 
PerlTest.<clinit>(PerlTest.java:10)
 
My configuration is something like this:
    - Linux: version 5 (something)
    - perl: version 5.005_63 built for i686-linux (with JPL bundled)     -
java: version "1.2.2-RC2", Classic VM (build 1.2.2-RC2-K, green threads,
javacomp)
 
Any ideas?
Should I use other versions?
Is my configuration messed up?

--geir
 

Geir Willy Rogde
Telenor FoU