Re: Installing JPL

[email protected] Tue, 19 Jun 2001 17:26:18 EDT
Newsgroups perl.jpl
Message-ID <[email protected]>
Make sure that libSample.so is built with the -lcrypt flag.  You can check 
with

ldd libSample.so

If not, add -lcrypt to the library flags in the Makefile in the Sample 
directory.

Hiroko


[email protected] wrote:

<< I'm trying to install JPL with jdk1.3.1 and redhat 6.2.
 It returned the following error messages while running sample programs.
 Any ideas?
 Thank you.
 
 Jay
 
 
 Testing Sample...
 + cd Sample
 + JPLDEBUG=1
 + export JPLDEBUG
 + java Sample
 Exception in thread "main" java.lang.UnsatisfiedLinkError:
 /usr/jplinstall/jpl/Sample/libSample.so:
 /usr/lib/perl5/5.00503/i686-linux/CORE/libperl.so: undefined symbol: crypt
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
         at java.lang.Runtime.loadLibrary0(Runtime.java:749)
         at java.lang.System.loadLibrary(System.java:820)
         at Sample.<clinit>(Sample.java:47)
 Couldn't run Sample
  >>


******************
*  Hiroko Arai               *
*  [email protected] *
******************