All, I have been trying to get DBD::mysql installed and have not been able to get the tests to pass even after trying several workarounds noted in the documentation and other posts...Here is my output...can anyone see something I am obviously doing wrong?

*bossert@$#$#$#$#$# DBD-mysql-4.026 $ perl Makefile.PL --testuser=test + --testpassword=password --libs="-L/tmp/mysql-static -lmysqlclient" - +-cflags -I/usr/include/mysql<br> I will use the following settings for compiling and testing:<br> cflags (User's choice) = -I/usr/include/mysql<br> embedded (mysql_config ) = <br> libs (User's choice) = -L/tmp/mysql-static -lmysqlclient<br +> mysql_config (guessed ) = mysql_config<br> nocatchstderr (default ) = 0<br> nofoundrows (default ) = 0<br> ssl (guessed ) = 0<br> testdb (default ) = test<br> testhost (default ) = <br> testpassword (User's choice) = password<br> testport (default ) = <br> testsocket (default ) = <br> testuser (User's choice) = test<br> To change these settings, see 'perl Makefile.PL --help' and 'perldoc DBD::mysql::INSTALL'.<br> Checking if your kit is complete...<br> Warning: the following files are missing in your kit:<br> META.json<br> Please inform the author.<br> Using DBI 1.631 (for perl 5.016003 on x86_64-linux-thread-multi-ld) in +stalled in /tempssd/bossert/perl/lib/site_perl/5.16.3/x86_64-linux-th +read-multi-ld/auto/DBI/<br> Generating a Unix-style Makefile<br> Writing Makefile for DBD::mysql<br> Writing MYMETA.yml and MYMETA.json<br> *bossert@$#$#$#$#$ DBD-mysql-4.026 $ make<br> cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm<br> cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm<br> cp README.pod blib/lib/DBD/README.pod<br> cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod<br> cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm<br> Running Mkbootstrap for DBD::mysql ()<br> chmod 644 mysql.bs<br> cc -c -I/tempssd/bossert/perl/lib/site_perl/5.16.3/x86_64-linux-threa +d-multi-ld/auto/DBI -I/usr/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOO +D -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-p +rotector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS +=64 -O2 -DVERSION=\"4.026\" -DXS_VERSION=\"4.026\" -fPIC "-I/tempss +d/bossert/perl/lib/5.16.3/x86_64-linux-thread-multi-ld/CORE" dbdimp +.c<br> dbdimp.c: In function ‘mysql_describe’:<br> dbdimp.c:3676: warning: assignment from incompatible pointer type<br> /tempssd/bossert/perl/bin/perl -p -e "s/~DRIVER~/mysql/g" /tempssd/bos +sert/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi-ld/auto/DBI/ +Driver.xst > mysql.xsi<br> /tempssd/bossert/perl/bin/perl /tempssd/bossert/perl/lib/site_perl/5.1 +6.3/ExtUtils/xsubpp -typemap /tempssd/bossert/perl/lib/5.16.3/ExtUti +ls/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c<br> Warning: duplicate function definition 'do' detected in mysql.xs, line + 242<br> Warning: duplicate function definition 'rows' detected in mysql.xs, li +ne 754<br> cc -c -I/tempssd/bossert/perl/lib/site_perl/5.16.3/x86_64-linux-threa +d-multi-ld/auto/DBI -I/usr/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOO +D -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-p +rotector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS +=64 -O2 -DVERSION=\"4.026\" -DXS_VERSION=\"4.026\" -fPIC "-I/tempss +d/bossert/perl/lib/5.16.3/x86_64-linux-thread-multi-ld/CORE" mysql. +c<br> rm -f blib/arch/auto/DBD/mysql/mysql.so<br> /tempssd/bossert/perl/bin/perl myld cc -shared -O2 -L/usr/local/lib - +fstack-protector dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql. +so <br> -L/tmp/mysql-static -lmysqlclient \<br> chmod 755 blib/arch/auto/DBD/mysql/mysql.so<br> /tempssd/bossert/perl/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty +' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644<br> Manifying blib/man3/DBD::README.3<br> Manifying blib/man3/Bundle::DBD::mysql.3<br> Manifying blib/man3/DBD::mysql.3<br> Manifying blib/man3/DBD::mysql::INSTALL.3<br> *bossert@#$#$#$# DBD-mysql-4.026 $ make test<br> Running Mkbootstrap for DBD::mysql ()<br> chmod 644 mysql.bs<br> PERL_DL_NONLAZY=1 /tempssd/bossert/perl/bin/perl "-MExtUtils::Command: +:MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_har +ness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base.t ........................... 1/6 Bailout called. Further te +sting stopped: Unable to load DBD::mysql<br> <strong># Failed test 'use DBD::mysql;'<br> # at t/00base.t line 18.<br> # Tried to use 'DBD::mysql'.<br> # Error: Can't load '/users/bossert/.cpan/authors/id/C/CA/CAPTTOF +U/DBD-mysql-4.026/blib/arch/auto/DBD/mysql/mysql.so' for module DBD:: +mysql: /users/bossert/.cpan/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.026/ +blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: __cxa_pure_virtu +al at /tempssd/bossert/perl/lib/5.16.3/x86_64-linux-thread-multi-ld/D +ynaLoader.pm line 190.</strong><br> # at t/00base.t line 18.<br> # Compilation failed in require at t/00base.t line 18.<br> # BEGIN failed--compilation aborted at t/00base.t line 18.<br> FAILED--Further testing stopped: Unable to load DBD::mysql<br> make: *** [test_dynamic] Error 255<br>

In reply to DBD::mysql on opens use and having lots of problems... by mabossert

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.