From owner-freebsd-perl@freebsd.org Thu Aug 13 23:58:21 2015 Return-Path: Delivered-To: freebsd-perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82D3B9B8A81 for ; Thu, 13 Aug 2015 23:58:21 +0000 (UTC) (envelope-from parv@pair.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 715631835 for ; Thu, 13 Aug 2015 23:58:21 +0000 (UTC) (envelope-from parv@pair.com) Received: by mailman.ysv.freebsd.org (Postfix) id 70AC79B8A80; Thu, 13 Aug 2015 23:58:21 +0000 (UTC) Delivered-To: perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 704189B8A7F for ; Thu, 13 Aug 2015 23:58:21 +0000 (UTC) (envelope-from parv@pair.com) Received: from nisba.pair.com (nisba.pair.com [209.68.5.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 525A71834 for ; Thu, 13 Aug 2015 23:58:21 +0000 (UTC) (envelope-from parv@pair.com) Received: by nisba.pair.com (Postfix, from userid 3220) id 1054D1141DB; Thu, 13 Aug 2015 19:58:14 -0400 (EDT) Date: Thu, 13 Aug 2015 19:58:14 -0400 From: parv To: perl@freebsd.org Subject: perl 5.22 - "loadable library and perl binaries are mismatched" Message-ID: <20150813235803.GA17213@nisba.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2015 23:58:21 -0000 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. --