----- Original message -----
From: Andrew Hewus Fresh <and...@afresh1.com>
To: Jon Fineman <j...@fineman.me>
Cc: bugs@openbsd.org
Subject: Re: pkg_add -u Base64.c: loadable library and perl binaries are 
mismatched
Date: Monday, May 03, 2021 8:20 PM

On Mon, May 03, 2021 at 08:11:04PM -0400, Jon Fineman wrote:
> >Synopsis:    pkg_add fails
> >Category:    
> >Environment:
>       System      : OpenBSD 6.9
>       Details     : OpenBSD 6.9 (GENERIC.MP) #473: Mon Apr 19 10:40:28 MDT 
> 2021
>                        
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> >Description:
> After running sysupgrade from 6.8 to 6.9 release the rc.firsttime output 
> showed the bellow error message:
> 
> Path to firmware: http://firmware.openbsd.org/firmware/6.9/
> Updating: vmm-firmware-1.11.0p3 intel-firmware-20200616v0 
> iwm-firmware-20191022p1 uvideo-firmware-1.2p3 inteldrm-firmware-20200421
> Base64.c: loadable library and perl binaries are mismatched (got handshake 
> key 0xb600000, needed 0xec00000)
> 
> 
> Then when I tried to run pkg_add -u to upgrade my packages I got the same 
> error below.
> 
> desktop(~)$: doas pkg_add -u 
> doas (j...@desktop.jonjfineman.com) password: 
> Base64.c: loadable library and perl binaries are mismatched (got handshake 
> key 0xb600000, needed 0xec00000)
> desktop(~)$: 

This says libperl and (I assume) MIME/Base64.so are mismatched, which
both come from the base set, so I'm not quite sure how you accomplished
this.

My (sadly very outdated) snapshot says:

$ ls -l /usr/lib/libperl.so* 
/usr/libdata/perl5/amd64-openbsd/auto/MIME/Base64/Base64.so
-r--r--r--  1 root  bin  3715880 Apr 12 20:10 /usr/lib/libperl.so.22.0
-r-xr-xr-x  1 root  bin    17528 Apr 12 20:10 
/usr/libdata/perl5/amd64-openbsd/auto/MIME/Base64/Base64.so*

How about yours?
desktop(~)$: ls -l /usr/lib/libperl.so* 
/usr/libdata/perl5/amd64-openbsd/auto/MIME/Base64/Base64.so
-r--r--r--  1 root  bin  3546048 Oct  4  2020 /usr/lib/libperl.so.20.0
-r--r--r--  1 root  bin  3715880 Apr 19 12:17 /usr/lib/libperl.so.22.0
-r-xr-xr-x  1 root  bin    17528 Apr 19 12:17 
/usr/libdata/perl5/amd64-openbsd/auto/MIME/Base64/Base64.so
desktop(~)$:


Did you possibly use a cpan client to install a newer version of
Base64.so?  Can you see if `find /usr/local/libdata -name Base64.so`
turns anything up?
desktop(~)$: find /usr/local/libdata -name Base64.so
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/MIME/Base64/Base64.so
desktop(~)$: 


l8rZ,
-- 
andrew - http://afresh1.com

Instructions are just another man's opinion of how to do something. 
                      -- Weldboy #DPWisdom

Reply via email to