develooper Front page | perl.perl5.porters | Postings from November 2003

[perl #24556] Perl 5.8.2: unresolvable symbol PL_perl_destruct_level

Thread Next
From:
Cindy Gomez
Date:
November 29, 2003 00:25
Subject:
[perl #24556] Perl 5.8.2: unresolvable symbol PL_perl_destruct_level
Message ID:
rt-24556-67823.17.1482099828753@rt.perl.org
# New Ticket Created by  "Cindy Gomez" 
# Please include the string:  [perl #24556]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24556 >


Hi,

I am having a problem running Perl 5.8.2 on a second DEC/Alpha
machine.  Here are the details.

I installed Perl 5.8.2 plus Tk, DBI and DBD:Informix modules on
a DEC/Alpha machine.  I tarred the /usr/local/lib/perl5/5.8.2,
/usr/local/lib/site_perl/5.8.2 and the perl binary to load
on another DEC/Alpha machine with the same architecture.
(Note:  I did this same procedure for Perl 5.8.1 and perl ran fine
on the second DEC/Alpha machine.)

perl 5.8.2 runs great on the first machine it was installed on.
When trying to run perl -v on the second machine,
I encountered the following problems:

Problem 1)  26233:/usr/local/bin/perl:
/sbin/loader: Fatal Error: cannot map libperl.so
FIXED by: Adding the following directory to LD_LIBRARY_PATH.
 /usr/local/lib/perl5/5.8.2/alpha-dec_osf-thread-multi/CORE

Problem 2) 16386:/usr/local/bin/perl: /sbin/loader: Error: unresolvable
symbol in
/usr/local/bin/perl: PL_perl_destruct_level
16386:/usr/local/bin/perl: /sbin/loader: Fatal Error: this executable
has unresolvable symbols

QUESTIONS:
Which shared library is PL_perl_destruct_level defined in?
Why isn't the perl executable finding the shared library?
What do I need to do to fix these problems?




My platform consists of:
· Filebert DEC/Alpha machine
· Digital Unix 4.0D  (version 878)
· Perl 5.8.2 source code
· IBM Informix Client SDK 2.60.FC1
· Informix-ESQL Version 9.50.FC1
· Connection to Informix DB server 9.21.FC4 on DEC/Alpha machine running
Compaq Tru64 Unix

I used the following to configure Perl 5.8.2:

sh Configure -de -Duseithreads -Duseshrplib -Dprefix=/usr/local -Dcc=cc
-Dccflags='-arch host' -Duselargefiles -des



Here is the output from "perl -V" on the first machine:

[152]: perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration:
  Platform:
    osname=dec_osf, osvers=4.0d, archname=alpha-dec_osf-thread-multi
    uname='osf1 filebert v4.0 878 alpha '




config_args='-de -Duseithreads -Duseshrplib -Dprefix=/usr/local -Dcc=cc -Dcc
flags=-arch host -Duselargefiles -des'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-pthread -arch host -std -D_INTRINSICS -fprm
d -ieee -I/usr/local/include -DLANGUAGE_C',
    optimize='-O4',




cppflags='-pthread -std -D_INTRINSICS -ieee -I/usr/local/include -DLANGUAGE_
C'
    ccversion='V5.6-084', gccversion='', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc
/usr/lib /var/shlib
    libs=-ldbm -ldb -lm -lutil -lpthread -lexc
    perllibs=-lm -lutil -lpthread -lexc
    libc=/usr/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
cdlflags='  -Wl,-rpath,/usr/local/lib/perl5/5.8.2/alpha-dec_osf-thread-multi
/CORE'
    cccdlflags=' ', lddlflags='-shared -expect_unresolved
"*" -msym -std -s -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under dec_osf
  Compiled at Nov 13 2003 11:07:28
  @INC:
    /usr/local/lib/perl5/5.8.2/alpha-dec_osf-thread-multi
    /usr/local/lib/perl5/5.8.2
    /usr/local/lib/perl5/site_perl/5.8.2/alpha-dec_osf-thread-multi
    /usr/local/lib/perl5/site_perl/5.8.2
    /usr/local/lib/perl5/site_perl
    .

If you need additional information, let me know.

Thanks for your assistance!
Cindy M. Gomez
Lucent Technologies
623-581-4785



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About