Script debugging

A

Adam Smith

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

Adam Smith

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

Ben Morrow

[f'ups set]

Quoth Adam Smith said:
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
 
A

Adam Smith

Hi Ben,
thanks for the reply , I got the following to the lld
#> ldd /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so
/usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so:
libm.so.2 => /root/usr/lib/libm.so.2 (0x281f8000)
libcrypt.so.2 => /root/usr/lib/libcrypt.so.2 (0x28214000)
libutil.so.3 => /root/usr/lib/libutil.so.3 (0x2822d000)
libc.so.4 => /root/usr/lib/libc.so.4 (0x28072000)

Ben said:
[f'ups set]

Quoth Adam Smith said:
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
 
A

Adam Smith

Ben, BTW - you may be on to something I did install a Perl API for a
program. That may have caused it

Ben said:
[f'ups set]

Quoth Adam Smith said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top