Click here to get back home

Script debugging

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Script debugging Adam Smith 06-24-2006
Posted by Adam Smith on June 24, 2006, 12:06 am
Please log in for more thread options


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 --

Posted by Adam Smith on June 24, 2006, 3:20 am
Please log in for more thread options


Actually discovered that this is an Installation Problem apparently.
Merely, launching Perl produces the Undefined symbol condition.
Suggestions sought.



Adam Smith wrote:

> 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 --

Posted by Ben Morrow on June 24, 2006, 9:50 am
Please log in for more thread options


[f'ups set]

> 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

Similar ThreadsPosted
debugging issue with Net::FTP January 1, 2005, 2:36 pm
debugging (stepping thru in debugger) within a try block February 13, 2006, 7:13 pm
ISO: deep voodoo debugging tools for tracking down seriously weird module behavior. November 9, 2007, 1:28 pm
2 cgi script executions, is it possible? July 11, 2005, 8:01 pm
script to calculate CRC-32 of bitstream December 8, 2004, 5:20 am
CGI script (just one) works fine in anything *but* IE December 18, 2004, 11:47 pm
Having Trouble with a CGI script login January 6, 2005, 1:16 pm
Having Trouble with a CGI script login January 6, 2005, 1:16 pm
Having Trouble with a CGI script login January 5, 2005, 12:51 pm
CGI script with target in the body August 17, 2005, 10:26 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap