Re: Installing JPL

[email protected] (Ben Scurr) Tue, 19 Jun 2001 18:08:09 +0100 (BST)
Newsgroups perl.jpl
Message-ID <[email protected]>
I had this problem on Linux. there seemed to be a missing crypt symbol
even when libcrypt.a was on the LD_LIBRARY_PATH. I traced the unresolved
symbol back to pp.c and resolved it by going into the perl source tree and
commenting out the line

#define HAS_CRYPT 

in config.h 

Then rebuild perl.

This fixed the problem, whether the correct way or not is debateable!

good luck.

Ben

On Tue, 19 Jun 2001, Ed Chidester wrote:

> 
> 
> I'm not currently working with JPL or perl-java embedding so this might not
> be the answer. But, it looks like you need a C/C++ library libcrypt.a
> Your system probably already has this file in /usr/lib/
> 
> If so, check your LD_LIBRARY_PATH environment variable and add the appropriate
> directory.
> 
>    
>    % setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/lib
>    (in csh)
> 
> 
> Hope this helps.
> 
> Ed.
> 
> 
> > Mailing-List: contact [email protected]; run by ezmlm
> > list-help: <mailto:[email protected]>
> > list-unsubscribe: <mailto:[email protected]>
> > list-post: <mailto:[email protected]>
> > Delivered-To: mailing list [email protected]
> > From: "You, Jay" <[email protected]>
> > To: "'[email protected]'" <[email protected]>
> > Subject: Installing JPL
> > Date: Tue, 19 Jun 2001 12:11:32 -0400
> > MIME-Version: 1.0
> > X-Spam-Rating: onion.valueclick.com 1.6.2 0/1000/N
> > 
> > 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
> 
> 

---------------------- TransEDA ------------------------
          Verification From Concept to Reality
                http://www.transeda.com
--------------------------------------------------------
      Ben Scurr         Tel:   +44 (0)23 8068 3536
      TransEDA plc.     Fax:   +44 (0)23 8065 0805
                        Email: [email protected]
--------------------------------------------------------