Re: Error with using DBD MySql
Paras Dagli <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
i made sure mysql_config is in my path. now i get the following error when i try to reinstall DBD [root@server DBD-mysql-2.9004]# make gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I/usr/local/mysql/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -DVERSION=\"2.9004\" -DXS_VERSION=\"2.9004\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I/usr/local/mysql/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -DVERSION=\"2.9004\" -DXS_VERSION=\"2.9004\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" mysql.c In file included from mysql.c:34: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h: In function `dbixst_bounce_method': /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h:22: warning: passing arg 1 of `PerlIO_printf' makes pointer from integer without a cast /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h:38: warning: passing arg 1 of `PerlIO_printf' makes pointer from integer without a cast paras On Tue, 28 Sep 2004 20:16:50 -0400 (EDT), Rudy Lippan <[email protected]> wrote: > On Tue, 28 Sep 2004, Paras Dagli wrote: > > > hi, > > > > i've installed DBD and i'm trying to run a test perl script to connect > > to the database. I get the following error: > > > > install_driver(mysql) failed: Can't load > > '/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.so' > > for module DBD::mysql: > > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: > > undefined symbol: net_buffer_length at > > /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. > > > > any ideas on what i could do to debug/fix this issue? > > > > > > Make sure that the correct mysql_config is in your PATH before runnign > Makefile.PL. > > > Rudy > > -- paras -------- "you never conquer the mountain. you only conquer yourself" - jim whittaker (first american to climb mount everest) -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]