please see perl -V output:
Summary of my perl5 (revision 5.0 version 6 subversion
1) configuration:
Platform:
osname=linux, osvers=2.4.7-10,
archname=i686-linux-thread
uname='linux linux72 2.4.7-10 #1 thu sep 6
17:27:27 edt 2001 i686 unknown '
config_args='-Dusethreads -Duse5005threads -des'
hint=recommended, useposix=true,
d_sigaction=define
usethreads=define use5005threads=define
useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
usesocks=undef
use64bitint=undef use64bitall=undef
uselongdouble=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT
-fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -fno-strict-aliasing
-I/usr/local/include'
ccversion='', gccversion='2.96 20000731 (Red Hat
Linux 7.1 2.96-98)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=1234
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 -lgdbm -ldb -ldl -lm -lpthread -lc
-lcrypt -lutil
perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt
-lutil
libc=/lib/libc-2.2.4.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_THREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Jul 15 2002 09:31:13
@INC:
/usr/local/lib/perl5/5.6.1/i686-linux-thread
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux-thread
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
.
--- Paul Johnson <[EMAIL PROTECTED]> wrote:
> Date: Tue, 16 Jul 2002 11:05:09 +0200
> From: Paul Johnson <[EMAIL PROTECTED]>
> To: Sajith K <[EMAIL PROTECTED]>
> Subject: Re: undefined symbol: Perl_Gthr_key_ptr
>
> On Mon, Jul 15, 2002 at 09:01:30PM -0700, Sajith K
> wrote:
> > thanks paul !
> >
> > i used nm to search for the symbol in the lib
> files
> > in my system but couldn't find any. could you
> please
> > tell me which library should have it defined ?
>
> I would imagine it should be in perl itself.
>
> > i did compiled perl source with thread support,
> but
> > it didn't work
>
> As I mentioned, you'll need to send the output of
> perl -V and some
> relevant parts of your program. Please ask directly
> to the list so
> everyone can benefit and help. I may not be able to
> answer personally
> for all sorts of reasons.
>
> > regards
> > sajith
> >
> > --- Paul Johnson <[EMAIL PROTECTED]> wrote:
> > > On Mon, Jul 15, 2002 at 10:42:35AM -0700, Sajith
> K
> > > wrote:
> > > > i am trying to use perl with a public domain
> tool.
> > > > on executiong use PLSTAF; i am getting the
> > > following
> > > > error:
> > > >
> > > > /usr/bin/perl: error while loading shared
> > > > libraries: /usr/lib/perl5/5.6.0/libPLSTAF.so:
> > > > undefined symbol: Perl_Gthr_key_ptr
> > > >
> > > > could you please help me out with this problem
> ?
> > >
> > > At a guess, I would say that the version of perl
> you
> > > are using is
> > > different to the version the module was compiled
> > > with. It looks like
> > > you should be using a threaded perl.
> > >
> > > But I would imagine that you'll really need to
> > > provide the output of
> > > perl -V and at least the start of your program
> in
> > > order for anybody to
> > > help further.
> > >
> > > --
> > > Paul Johnson - [EMAIL PROTECTED]
> > > http://www.pjcj.net
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Autos - Get free new car price quotes
> > http://autos.yahoo.com
>
> --
> Paul Johnson - [EMAIL PROTECTED]
> http://www.pjcj.net
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]