Re: LWP 5.6.8 and 5.7.2

2003-10-16 Thread Clint Moore
On Thursday, October 16, 2003, at 05:49 AM, Philippe de Rochambeau 
wrote:
Hello,

whenever I run the simple LWP program below, I get the following error 
messages (I am using perl 5.8.0). I get the same message when I try to 
build LWP 5.7.2.

stuff
You've got an old xs library trying to load.

Check this post out for an explaination and a fix:

http://nntp.x.perl.org/group/perl.perl5.porters/63742



dyln: perl Undefined symbols

2002-05-09 Thread Clint Moore


Output of 'perl Makefile.PL' in the libwww-perl-5.64 tree:


Checking for Digest::MD5 ..loading libraries for image: 
/Library/Perl/darwin/auto/Digest/MD5/MD5.bundle
dyld: perl Undefined symbols:
_Perl_PerlIO_read
_Perl_sv_2pv_flags

I saw in the archives errors from within DBI::MySQL and mod_perl 
and other modules but never from perl itself.  Since I installed the os, 
patched, and installed the devel tools i've done the following:

1. Tried to compile and install perl-5.7.3 which did compile fine but 
did not install any of the core modules like Exporter.  So when I tried 
/usr/local/bin/perl5.7.3 -V it, died with

Can't locate Exporter.pm in INC (INC contains: /Library/Perl/darwin 
/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl 
/Network/Library/Perl/darwin /Network/Library/Perl 
/Network/Library/Perl .) at /Library/Perl/darwin/Config.pm line 2.
BEGIN failed--compilation aborted at /Library/Perl/darwin/Config.pm line 
2.
Compilation failed in require.
BEGIN failed--compilation aborted.


2. Tried to install CPAN 1.61 by hand since using the installed CPAN 
module results in CPAN trying to download and install perl 5.6.1 which, 
as I understand, will not work.  I haven't let it go to see what 
happens, rather, I hit cntrl-c while it is downloading the tarball.
When trying to use 1.61 I get the following.

cpan install HTML::Parser
loading libraries for image: 
/Library/Perl/darwin/auto/Storable/Storable.bundle
dyld: perl Undefined symbols:
_PerlIO_getc
_PerlIO_putc
_Perl_PerlIO_read
_Perl_PerlIO_write
_Perl_sv_2pv_flags

It is an educated guess, but i'm pretty sure this is coming from 
perl itself, no?  Has anyone else ever seen this?  I'm going to download 
the development tools image again and see if it doesn't help to 
reinstall them.  While it's possible that I overwrote the 5.0 
/Library/Perl with some or all of the 5.7.3 stuff, I would assume that 
Exporter.pm would be able to load if that is the case.

Anyway, if anyone has any suggestions I would love to hear them.

-cm