Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

DBI.c has a problem

by K0ttn (Initiate)
on Nov 24, 2024 at 15:51 UTC ( [id://11162858]=perlquestion: print w/replies, xml ) Need Help??

K0ttn has asked for the wisdom of the Perl Monks concerning the following question:

DBI.c: loadable library and perl binaries are mismatched (got first handshake key 0xeb00080, needed 0xf380080)

This is only when run by a normal user. Root doesn't have the problem. I used cpan to reinstall. Didn't help. This is a fresh install of Mint 22. There is only one installation of Perl on this system.

Replies are listed 'Best First'.
Re: DBI.c has a problem
by hippo (Archbishop) on Nov 24, 2024 at 16:01 UTC
    There is only one installation of Perl on this system.

    If that's true then it appears that you have 2 separate DBI modules installed. Probably one from the package manager and one from CPAN. Find out which one works and then remove the problematic one.


    🦛

      Yes, and the OP could start comparing @INC for root and his user.

      A diff should help narrowing the problematic path.

      perl -MData::Dumper -E'say Dumper \@INC'

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      see Wikisyntax for the Monastery

        Hm, that was/is it. For some reason I have a /perl5/lib/perl5 library in my home directory. After some juggling, I was able to clean the @INC variable and it now runs. Thanks to all.

        Jim

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11162858]
Approved by GrandFather
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-12-12 17:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (65 votes). Check out past polls.