Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2015 19:58:14 -0400
From:      parv <parv@pair.com>
To:        perl@freebsd.org
Subject:   perl 5.22 - "loadable library and perl binaries are mismatched"
Message-ID:  <20150813235803.GA17213@nisba.pair.com>

next in thread | raw e-mail | index | archive | help
In short, the cause of my problem with perl 5.22 is explained in ...

 http://www.nntp.perl.org/group/perl.perl5.porters/2015/05/msg228155.html


In long ...

On recent, bare (of ports) FreeBSD 10 (r286568)/i386, I had
built+installed perl 5.22 with all the options (make config) but
"GDBM" and "PERL_MALLOC". Then I installed Locale::gettext &
XML::Parser modules (from ports).

Other software (e.g. intltool & help2man) that require above two
modules were having problem during configure due to mismatch between
"loadable library and perl binaries".

After looking in respective configure scripts (e.g. line 2376 in
configure script for intltool) and running the tests manually to
test loading of the modules (e.g XML::Parser for intltool) resulted
in error message from perl ...

  perl -e 'require XML::Parser'
  Expat.c: loadable library and perl binaries are mismatched (got
  handshake key 0x7ac0080, needed 0x7b80080)


Rebuilding perl & modules did not help as pointed in the error
message for help2man to see UPDATING entry 20130612 and PR 184276.
That was midly puzzling because the perl modules were built after
building perl 5.22 & had only "major.minor" directory already.
Needless to say the above pointer was just a distraction.

Going back to perl 5.20  :-<  until the above Issue is fixed.


-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150813235803.GA17213>