[Mapserver-users] PERL mapscript undefined symbol woes
Joe Bussell
joe at otsys.com
Wed Apr 30 15:56:16 PDT 2003
Greetings Listers,
I have a Debian box with PERL5.8 and mapserver-3.6.5. I have had
great success in the past with this box, but something in my build went
awry. The compile for mapserv and then perl/mapscript completed without
error. The object is also generally useful when using dump.pl and even
some live map rendering under apache. The symptom that I observed is
that whenever the process needs to carp out something it segfaults and
dies. I ran ldd with the -r option and observed an interresting clue
(see below). Does anyone have any ideas how the Perl_* symbols are
defined? Why would they not be found? Should the list of *.so include
libperl.so? Any ideas on getting out of this mess?
ldd -r blib/arch/auto/mapscript/mapscript.so
libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40102000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40147000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x40164000)
libpng.so.2 => /usr/lib/libpng.so.2 (0x401ad000)
libz.so.1 => /lib/libz.so.1 (0x401d3000)
libtiff.so.3 => /usr/lib/libtiff.so.3 (0x401e0000)
libproj.so.0 => /usr/local/lib/libproj.so.0 (0x40224000)
libgdal.1.1.so => /usr/local/lib/libgdal.1.1.so (0x40255000)
libm.so.6 => /lib/libm.so.6 (0x404b0000)
libc.so.6 => /lib/libc.so.6 (0x404d1000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x405e1000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x405ef000)
libdl.so.2 => /lib/libdl.so.2 (0x406ab000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x406ae000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40757000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: Perl_croak_nocontext
(blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_sv_setiv (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_sv_2pv_flags (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_mg_find (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: pthread_getspecific
(blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_sv_newmortal (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_sv_isobject (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_sv_2nv (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_Isv_yes_ptr (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_sv_setpv (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_newXS (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_Tna_ptr (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_Tmarkstack_ptr_ptr
(blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_Isv_undef_ptr (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_sv_magic (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_sv_setsv_flags
(blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_Tstack_base_ptr
(blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_get_sv (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_Gthr_key_ptr (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_sv_setref_pv (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_sv_2iv (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_sv_setnv (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_Tstack_sp_ptr (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_sv_setpvn (blib/arch/auto/mapscript/mapscript.so)
undefined symbol: Perl_mg_get (blib/arch/auto/mapscript/mapscript.so)
Cordially,
Joe Bussell
On Time Systems
www.trafficdodger.com
More information about the MapServer-users
mailing list