[MacPorts] #64712: Perl-related errors on 10.6.8: loadable library and perl binaries are mismatched
MacPorts
noreply at macports.org
Mon Mar 4 09:20:28 UTC 2024
#64712: Perl-related errors on 10.6.8: loadable library and perl binaries are
mismatched
-------------------------------------+-------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: powerpc, snowleopard,
Port: autoconf269, wget, | rosetta
help2man, p5.28-http-daemon, |
perl5.28, perl5.34 |
-------------------------------------+-------------------------------------
Comment (by potmj):
I have had similar problems and at long last resolved at least one (on
10.11.6). Upgrade texinfo failed with :- \\
{{{
parsetexi/Parsetexi.c: loadable library and perl binaries are mismatched
(got handshake key 0xc400080, needed 0xf880080)
}}}
I let Macports handle perl, and have it as a dependency. I don't program
in perl or install other perl programs, or pull in modules that I am aware
of. The error message does not explicitly identify the perl module, or
it's library path, full source path, nor where it has come from. It seems
it is hard for better help on correcting this error to be included in the
perl error message. I was less lucky in that I could not work out which
version of perl I should use to work around this issue (Apple or Macports,
etc) i.e the one Parsetexi must have been built with. `instmodsh` did not
list Parsetexi. The texinfo log file indicated it was configuring with
Macports Perl 5.34 (the perl I get at the command line). No Parsetexi.c
could be found on my disk.\\
I found `Parsetexi.so` in `/opt/local/lib/`, but no trace of where it had
come from.
{{{
$ port provides /opt/local/lib/Parsetexi.so
/opt/local/lib/Parsetexi.so is not provided by a MacPorts port.
}}}
I believe all files in `/opt/local/lib/` should have come from a MacPorts
build, & I don't put anything in there, so either it has been put there by
MacPorts, but MacPorts does not know this, or it is an old left over from
something no longer provided (or maybe a temporary lib from a build).
Simply moving it corrected the `texinfo` upgrade, and somehow, `texinfo`
configured without needing it (or having a perl try to load it).//
{{{
$ sudo mv /opt/local/lib/Parsetexi.so /opt/local/lib/Parsetexi.so.bad
}}}
I hope this helps you or others with these pesky "perl binaries are
mismatched" issues. Perhaps you have a similar problem but with an old
leftover library version (built under 5.30) earlier in a library path and
now it is in the wrong place.
--
Ticket URL: <https://trac.macports.org/ticket/64712#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list