Undefined symbol "mysql_server_in

User Patrice <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
Hello

Since an upgrade of p5-DBD-mysql in february 2007, i have this error :
/libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBD/mysql/m
ysql.so: Undefined symbol "mysql_server_init

after a few investigation, i ve found a change in function mysql_dr_connect of dbdimp.c

new version:
#if defined(DBD_MYSQL_EMBEDDED)
 
.. bla bla ..
#else
   mysql_server_init(-1, NULL, NULL); 
#endif

old version;
#if defined(DBD_MYSQL_EMBEDDED)
... blabla
#endif 
(no #else part)

i m using mysql 3.23 without embedded mysql library, so the Embedded part is not compiled.
and the DBD_MYSQL_EMBEDDED is not defined.

does it make sense to call mysql_server_init when not DBD_MYSQL_EMBEDDED ???


-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.