Getting Perl DBD::mysql running

Archived topics about LMDE 1 and LMDE 2
Locked
charrison

Getting Perl DBD::mysql running

Post by charrison »

I don't know if this question is related to my "edition" or not, so that probably qualifies me as a newbie...

Perl is installed, via perlbrew. v5.16.1

Via cpan I'm trying to install DBD::mysql.

Code: Select all

cpan[1]> install DBD::mysql
Reading '/home/charrison/.cpan/Metadata'
  Database was generated on Sat, 11 Aug 2012 02:12:05 GMT
Running install for module 'DBD::mysql'
Running make for C/CA/CAPTTOFU/DBD-mysql-4.021.tar.gz
Checksum for /home/charrison/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.021.tar.gz ok
Scanning cache /home/charrison/.cpan/build for sizes
............................................................................DONE

  CPAN.pm: Building C/CA/CAPTTOFU/DBD-mysql-4.021.tar.gz

Can't load '/home/charrison/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/DBI.so' for module DBI: /home/charrison/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/DBI.so: undefined symbol: PL_thr_key at /home/charrison/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1/i686-linux/DynaLoader.pm line 190.
 at /home/charrison/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI.pm line 266.
So, I don't know. Where should I start? If perlbrew is possibly getting in the way, I suppose I don't absolutely need it since I "own" the system.

Thanks,
Chap
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
millpond
Level 3
Level 3
Posts: 178
Joined: Tue Jan 31, 2012 6:34 pm

Re: Getting Perl DBD::mysql running

Post by millpond »

Hope this isnt too late, but use cpan to install.

The latest version is 4.0.22 which installs fine on Perl v14
Locked

Return to “LMDE Archive”