Installation Error
[email protected] ("Daniel Liu") Mon, 19 Mar 2001 21:08:40 -0500
| Newsgroups | perl.jpl |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Does anyone no how to fix this error when I run jpl-install?
Testing Sample...
+ cd Sample
+ JPLDEBUG=1
+ export JPLDEBUG
+ java Sample
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/n/ober/u/class/dyl5/pe
rl-5.6.0/jpl/Sample/libPerlInterpreter.so:
/n/ober/u/class/dyl5/perl-5.6.0/jpl/Sam
ple/libPerlInterpreter.so: undefined symbol: perl_get_cv
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 PerlInterpreter.<clinit>(PerlInterpreter.java:18)
at Sample.<clinit>(Sample.java:48)
Couldn't run Sample
I ran Perl -V if it helps:
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.18-1cucs, archname=i686-linux
uname='linux warsaw.clic.cs.columbia.edu 2.2.18-1cucs #2 tue jan 9
11:53:33 es
t 2001 i686 unknown '
config_args='-Duseshrplib'
hint=previous, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux
(egcs-1.1.2 re
lease)
cppflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_F
IL
E_OFFSET_BITS=64'
ccflags
='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FIL
E_OFFSET_BITS=64'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Mar 19 2001 05:35:49
@INC:
/home/dyl5/perl/lib/5.6.0/i686-linux
/home/dyl5/perl/lib/5.6.0
/home/dyl5/perl/lib/site_perl/5.6.0/i686-linux
/home/dyl5/perl/lib/site_perl/5.6.0
/home/dyl5/perl/lib/site_perl
.