Hey #OpenBSD people - are you getting perl errors after upgrade to 7.3?
I've upgraded 3 servers successfully so far, but bringing up my webserver gives me:
CPAN and CPANm both give me the same kind of errors. perl-migrate-modules gives a similar error. I rolled back the update and pkg_add work, and I ran perl-migrate-modules to try to get XS versions and things correct, and then I ran the upgrade again, with same issue.
My env is pretty empty, and I've tried deleting my perl5 directory, and other site packages (pkg_add explicitly no_libs them but you know).
Anyone else seeing this?
I've upgraded 3 servers successfully so far, but bringing up my webserver gives me:
web$ sudo sysmerge
doas (silverwizard@web.obscuritus.ca) password:
web$ sudo pkg_add -u
Zlib.c: loadable library and perl binaries are mismatched (got first handshake key 0xec00000, needed 0xeb80000)
web$
CPAN and CPANm both give me the same kind of errors. perl-migrate-modules gives a similar error. I rolled back the update and pkg_add work, and I ran perl-migrate-modules to try to get XS versions and things correct, and then I ran the upgrade again, with same issue.
web$ env
_=/usr/bin/env
LOGNAME=silverwizard
PWD=/home/silverwizard
HOME=/home/silverwizard
MAIL=/var/mail/silverwizard
PATH=/home/silverwizard/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games
TERM=vt220
SHELL=/bin/ksh
USER=silverwizard
web$
My env is pretty empty, and I've tried deleting my perl5 directory, and other site packages (pkg_add explicitly no_libs them but you know).
Anyone else seeing this?
silverwizard
Nothing perl
Anything that I should be looking for
Also - thanks so much for replying and offering help!
silverwizard
But that seems to have not helped, so I...
I'll replace the VM with an up to date one and just copy over the files. Thanks for the help though.
Andrew Hewus Fresh
•You should be able to get around it by moving (or deleting) /usr/local/libdata/perl5 and whatever flag to pkg_add reinstalls/repairs packages.
I really do need to stop messing with the 3d printer and catch up on OpenBSD stuff so I can resurrect this patch - https://marc.info/?l=openbsd-tech&m=162120435916828&w=2
Apart from that, it sounds like the base73.tgz you unzipped forgot to include the Zlib object. Not entirely sure how that's possible.
'Add versioned lib to system perl's @INC for non-packaged modules' - MARC
marc.infosilverwizard likes this.
Andrew Hewus Fresh
•src/md.amd64 at master · openbsd/src
GitHubsilverwizard likes this.
silverwizard
Yeah, I nuked my perl5 dir and it definitely no_libbed
It definitely is weird because Zlib wasn't there but I've installed three servers successfully from this install73.iso (but used the http mirror to get the files... On all servers), and it's persistent on this server and only this one...
It's super odd