Error with using DBD MySql

Error with using DBD MySql

am 29.09.2004 01:13:18 von Paras Dagli

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?

--
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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Error with using DBD MySql

am 29.09.2004 02:16:50 von Rudy Lippan

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


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Error with using DBD MySql

am 29.09.2004 02:16:50 von Rudy Lippan

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


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Error with using DBD MySql

am 29.09.2004 09:48:23 von Dan Bolser

On Tue, 28 Sep 2004, Rudy Lippan 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.

my DBD is still broken :(

>
>
>Rudy
>
>
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Error with using DBD MySql

am 29.09.2004 09:48:23 von Dan Bolser

On Tue, 28 Sep 2004, Rudy Lippan 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.

my DBD is still broken :(

>
>
>Rudy
>
>
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Error with using DBD MySql

am 05.10.2004 09:38:18 von Paras Dagli

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/aut o/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/aut o/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
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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Error with using DBD MySql

am 05.10.2004 09:38:18 von Paras Dagli

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/aut o/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/aut o/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
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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Error with using DBD MySql

am 05.10.2004 10:04:02 von Jochen Wiedmann

Paras Dagli wrote:

> /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

These are warnings and can most probably be ignored. I suppose you are
omitting the actual error message, which comes later.


--
http://lilypie.com/baby1/050423/1/5/1/+1

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Error with using DBD MySql

am 05.10.2004 10:04:02 von Jochen Wiedmann

Paras Dagli wrote:

> /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

These are warnings and can most probably be ignored. I suppose you are
omitting the actual error message, which comes later.


--
http://lilypie.com/baby1/050423/1/5/1/+1

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org