> On Apr 17, 2022, at 8:07 AM, Steve <zep...@cfl.rr.com> wrote:
>
> On Sat, 16 Apr 2022 19:48:52 -0700
> john <jra...@ceridwen.us> wrote:
>
>>> On Apr 16, 2022, at 9:47 AM, Steve <zep...@cfl.rr.com> wrote:
>>>
>>> I'm getting this error:
>>>
>>> steve@stevesdesktop:~$ gnc-fq-check
>>> Json3.c: loadable library and perl binaries are mismatched (got
>>> handshake key 0xce00080, needed 0xed00080)
>>>
>>> But...
>>> steve@stevesdesktop:~$ sudo find /usr -name "libperl.so*" -exec ls
>>> -lah {} \; 2>/dev/null -rw-r--r-- 1 root root 3.6M Sep 24 2021
>>> /usr/lib/x86_64-linux-gnu/libperl.so.5.32.1 lrwxrwxrwx 1 root root
>>> 17 Sep 24 2021 /usr/lib/x86_64-linux-gnu/libperl.so.5.32 ->
>>> libperl.so.5.32.1
>>>
>>> steve@stevesdesktop:~$ perl --version
>>>
>>> This is perl 5, version 32, subversion 1 (v5.32.1) built for
>>> x86_64-linux-gnu-thread-multi (with 47 registered patches, see perl
>>> -V for more detail)
>>>
>>> So why does gnc-fq-check think there is a mismatch?
>>
>> As a first guess your perl json module is linked to a different
>> version of libjson than the one you have. If you used gnc-fq-update
>> to set up Finance::Quote then running it again should fix the
>> problem. If you installed F::Q from your distro's package manager and
>> there aren't any updates then the packager for that module is running
>> a bit behind, a common problem for most distros since they rely on
>> volunteers.
>>
>
> steve@stevesdesktop:~/Downloads$ sudo gnc-fq-update
> Reading '/root/.cpan/Metadata'
> Database was generated on Sun, 17 Apr 2022 00:17:02 GMT
> Date::Manip is up to date (6.86).
> Finance::Quote is up to date (1.51).
>
> (update done here)
>
> steve@stevesdesktop:~/Downloads$ sudo apt-get upgrade
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Calculating upgrade... Done
> The following packages have been kept back:
> qdbus
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
>
> steve@stevesdesktop:~/Downloads$ dpkg -l | egrep -i 'perl.*json|json.*perl'
> ii libjson-parse-perl 0.61-1
> amd64 module to read JSON into a Perl variable
> ii libjson-perl 4.03000-1
> all module for manipulating JSON-formatted data
> ii libjson-xs-perl 4.030-1+b1
> amd64 module for manipulating JSON-formatted data
> (C/XS-accelerated)
>
> So am I right in thinking that the 4.030 versions are the problem? If
> so, I'll have to contact the maintainers.
Please remember to copy the list on all replies.
libjson-xs-perl is probably the mismatched library. briefly explains the
nature of the problem. Before you can blame the Debian packager (the
libjson-xs-perl maintainer is innocent) for upgrading perl without upgrading
all of the packages you need to be sure that that's the only instance of
libjson-xs-perl on your system. If there's another one earlier in perl's
include path it might be the mismatched library. Have you ever run
gnc-fq-update or used cpan directly on this machine?
Regards,
John Ralls
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.