For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > June 2006 > Script debugging









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Script debugging
Adam Smith

2006-06-24, 6:57 pm

Hi,

Platform i386, freeBSD 4.9 O/S

I am running a perl cgi script and am getting an error message to my
http error log files
==> /usr/libexec/ld-elf.so.1:
/usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so: Undefined symbol
"nl_langinfo"

grep'ing seems to localize the problem in the libperl.so library

grep -in nl_langinfo /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so
Binary file /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so matches

but I am at a bit of a loss as to how best to proceed, just need a
directional push start.

Anyone up to the task?

-- Adam --
Ben Morrow

2006-06-24, 6:57 pm

[f'ups set]

Quoth Adam Smith <adamsmith@econ.com>:
> Platform i386, freeBSD 4.9 O/S
>
> I am running a perl cgi script and am getting an error message to my
> http error log files
> ==> /usr/libexec/ld-elf.so.1:
> /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so: Undefined symbol
> "nl_langinfo"


At least on my system (linux), nl_langinfo is defined in libc.so. Have
you upgraded your libc since you installed perl? What do you get if you
run 'ldd /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so'?

I suspect the only solution is to rebuild perl, unless your system's
really badly broken.

Ben

--
We do not stop playing because we grow old;
we grow old because we stop playing.
benmorrow@tiscali.co.uk
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com