[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [bruce.stephens@messagingdirect.com: Bug#77616: undefined symbol Perl_no_modify. Presumably needs recompile for perl5.6]



On Wed, Nov 22, 2000 at 04:57:39PM -0500, Matt Zimmerman wrote:
>On Wed, Nov 22, 2000 at 11:04:28AM -0800, Darren/Torin/Who Ever... wrote:
>
>> Dirk Eddelbuettel, in an immanent manifestation of deity, wrote:
>> >Sorry for bluntly bugging the list -- I don't currently have a system with
>> >Perl 5.6.0 so I can't test his claim. Also, I recall Joey's post on how the
>> >Pelr built process could be modified to allow 5.6.* to use the 5.0.{5,6}
>> >modules. What become of that?
>> 
>> It's done:
>> [...]
>> Binary modules compiled under 5.005 can (and do) work under 5.6.
>
>Not all of them, unfortunately.  libdigest-md5-perl, for example (bug #77412).
>By dependency, this causes Cricket (the grapher CGI anyway) not to work with
>5.6, and I have to switch constantly to use debconf (5.6) and test cricket
>(5.005).

Errm, libdigest-md5-perl certainly does work:

  $ dpkg -l perl-5.6 libdigest-md5-perl
  [...]
  ii  perl-5.6       5.6.0-3        Larry Wall's Practical Extracting and Report
  ii  libdigest-md5- 2.12-1         MD5 Message Digest for Perl

  $ dpkg -p libdigest-md5-perl | fgrep Depends
  Depends: perl-5.005, libc6 (>= 2.1.2)

  $ perl-5.6 -mDigest::MD5 -wle 'print Digest::MD5->new'
  Digest::MD5=SCALAR(0x80f00ac)

As the error listed in #77412 is:

  mizar:[/home/mdz] /usr/bin/perl-5.6 -MDigest::MD5 -e 'print "hello\n";'
  Can't load '/usr/local/lib/site_perl/i386-linux/auto/Digest/MD5/MD5.so'
              ^^^^^^^^^^^^^^^^^^^^^^^^
  for module Digest::MD5: undefined symbol: Perl_markstack_ptr at /usr/lib/perl5/5.6/i386-linux/DynaLoader.pm line 200.
   at -e line 0
  Compilation failed in require.
  BEGIN failed--compilation aborted.

the problem is not actually with libdigest-md5-perl but rather with a
locally compiled Digest::MD5.

  $ perl -le 'print for @INC'
  /usr/lib/perl5
  /usr/lib/perl5/5.6/i386-linux
  /usr/lib/perl5/5.6
  /usr/local/lib/site_perl/i386-linux
  /usr/local/lib/site_perl
  /usr/lib/perl5/5.005/i386-linux
  /usr/lib/perl5/5.005
  .

Should site_perl come after 5.005 perhaps?

Regards,
-- 
Brendan O'Dea                                        bod@compusol.com.au
Compusol Pty. Limited                  (NSW, Australia)  +61 2 9810 3633



Reply to: