Re: Fixing pkg_add "Fatal error: can't parse object version" error after 4.9 upgrade

2011-06-08 Thread yary
>On Tue, Jun 07, 2011 at 11:57:42AM -0700, yary wrote: >> I have installed my own build of perl into /usr/local which might be >> the cause- though it can also happen with the system perl, All one has >> to do is install a binary/XS version of a library that system perl has >> a non-binary version

Re: Fixing pkg_add "Fatal error: can't parse object version" error after 4.9 upgrade

2011-06-08 Thread Marc Espie
On Tue, Jun 07, 2011 at 11:57:42AM -0700, yary wrote: > I have installed my own build of perl into /usr/local which might be > the cause- though it can also happen with the system perl, All one has > to do is install a binary/XS version of a library that system perl has > a non-binary version of, i

Fixing pkg_add "Fatal error: can't parse object version" error after 4.9 upgrade

2011-06-07 Thread yary
Hi, I saw another message about getting a perl error 'Fatal error: can't parse object version..." after an upgrade to 4.9, and have a fix and an explanation. Fix: add this line: no lib qw(/usr/local/libdata/perl5 /usr/local/libdata/perl5/i386-openbsd/5.12.2 /usr/local/libdata/perl5/site_perl