thanks. I tried each step on the mysql page... no luck.

When I install DBD using YUM as:

yum install perl-DBD-MySQL.x86_64

it installs without issue. However, this doesn't solve the original issue.

When I try to rebuild DBD-mysql manually by downloading it (http://search.cpan.org/dist/DBD-mysql/lib/DBD/mysql.pm) and using:

perl Makefile.PL --cflags=-I/usr/include/mysql --libs="-L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto"

and do a make, it complains:

Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located


Alas, with the standard install of mysql-server, mysql-client and mysql-shared, there is NO mysql_config file on my system, hence no way to specify a location for it.

Presuming the build worked, when trying to make, it fails with:

dbdimp.h:22:49: error: mysql.h: No such file or directory
dbdimp.h:23:45: error: mysqld_error.h: No such file or directory
dbdimp.h:25:49: error: errmsg.h: No such file or directory
In file included from dbdimp.c:20:
dbdimp.h:144: error: expected specifier-qualifier-list before âMYSQLâ
dbdimp.h:237: error: expected specifier-qualifier-list before âMYSQL_RESâ


and lots of other gibberish.

I'm running out of options. I've re-installed mysql and even re-installed perl. All other isues with this module seem easily resolved -- just not mine. Any assistance is appreciated. Thanks.

In reply to Re^2: Bugzilla install error: undefined symbol: mysql_init by jbiz
in thread Bugzilla install error: undefined symbol: mysql_init by jbiz

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.