On Wed, Apr 19, 2023 at 07:25:17PM -0700, Jonathan Thornburg wrote:
> I've just upgraded an amd64 machine from 7.1 to 7.3 (first a 7.1-->7.2
> upgrade, immediately followed by a 7.2-->7.3 upgrade, both following the
> FAQ instructions).  After a full 'pkg_add -uvv', at least one package
> (p5-Term-ReadPassword) is out-of-sync with the new perl binary:
>   # cat /tmp/foo
>   #!/usr/bin/perl
>   use warnings;
>   use strict;
>   use Term::ReadPassword;
>   
>   print "hello, world\n";
>   # /tmp/foo
>   Gnu.c: loadable library and perl binaries are mismatched (got first 
> handshake key 0xec00000, needed 0xeb80000)

This usually happens when an XS module is installed outside of the
package ecosystem, often with a CPAN client.

I would guess this error is Term::ReadLine::Gnu
https://metacpan.org/pod/Term::ReadLine::Gnu

You might be able to pkg_add p5-Term-ReadLine-Gnu to overwrite that
file, but not sure that will work.

I recommend looking at sysutils/sysclean as the easiest way to clean up
those files.

l8rZ,
-- 
andrew

Adding manpower to a late software project makes it later.

Reply via email to