LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   -current perl ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xeb00080) (https://www.linuxquestions.org/questions/slackware-14/current-perl-listutil-c-loadable-library-and-perl-binaries-are-mismatched-got-handshake-key-0xdb80080-needed-0xeb00080-4175699191/)

enine 08-15-2021 11:18 AM

-current perl ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xeb00080)
 
I'm trying to run a perl script in a new install of -current and getting the following error :

Code:

ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xeb00080)
My searching seems to indicate when a perl library is installed with a different version than what's installed such as installing via cpan or a package manager. But I've only installed Slackware-current and haven't installed any other perl packages.

I noticed this post https://www.linuxquestions.org/quest...8/#post6275376 which seems to have a similar issue.

ponce 08-15-2021 11:34 AM

maybe this answer (the first)?

https://stackoverflow.com/questions/...-handshake-key

if it's not that could it be also that the perl stuff you are trying to run has to be rebuild too against the newer perl in current (maybe because it contains additional perl modules itself).

enine 08-15-2021 01:04 PM

So that's one of the places where I saw the notes about having modules installed separately, but I didn't install any, its a clean -current install.
so their suggestions such as checking
Code:

env | grep PERL
returns nothing, nothing in ~/.bashrc etc

ponce 08-15-2021 01:10 PM

I think a little more informations on the script you are trying to run could help.

enine 08-15-2021 01:41 PM

Its Slic3r. I was using it for the last few months on a raspberry pi 400 running Slackware-arm-current. If you download and extract you can then just run
Code:

perl slic3r.pl
. So I bought a small x86 desktop to upgrade from the Pi400 and installed -current and trying the same
Code:

perl slic3r.pl
gives the error. I hadn't updated the pi in a month or two is really the only difference i can find.

ponce 08-15-2021 01:57 PM

if you mean this

https://github.com/slic3r/Slic3r/

I followed the instructions on how to build it (because you have to build it, you cannot simply execute it as is moving the directory from one version to another of perl)

https://github.com/slic3r/Slic3r/wik...t-on-GNU-Linux

I installed perl-local-lib as requested and I issued these two commands
Code:

export LDLOADLIBS=-lstdc++
perl Build.PL

and here it asked me to install also cpanminus: I installed it too and then it started building a ton of other perl modules (they are still building)...

I have run those command as user to avoid an installation via cpanminus system-wide (I don't know where cpanminus install stuff).

EDIT: in the end the main slice3r.pl built fine (and run fine after), while the gui won't (with an error building Wx::build::MakeMaker) and, good news, cpanminus installed the stuff locally in a "local-lib" directory.

enine 08-16-2021 05:06 PM

I was just downloading https://dl.slic3r.org/linux/slic3r-1...ux-x64.tar.bz2 and extracting and running it. I'll try the build and see what happens.

Reason I posted was because I found that other thread with a similar issue and wondered if something odd got into -current.

enine 08-16-2021 06:08 PM

I went ahead and installed cpanminus via the Slackbuild and the Slic3r build as non-root and the Slic3r-build.pl still tells cpanminus to put stuff in a local-lib

My GUI works FWIW.


All times are GMT -5. The time now is 08:02 PM.