RE: Perl - DBD:DBI Errors
Hi Gerald, I installed ldconfig, and then zlib. Now went back to install DBD and get the following when running make test (looks similar to original problem): [root@clx Msql-Mysql-modules-1.2210]# make test make[1]: Entering directory `/perlmods/Msql-Mysql-modules-1.2210/mysql' make[1]: Leaving directory `/perlmods/Msql-Mysql-modules-1.2210/mysql' make[1]: Entering directory `/perlmods/Msql-Mysql-modules-1.2210/mysql' PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib -I/usr/lib/perl5/5.00 503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbos e); $verbose=0; runtests @ARGV;' t/*.t t/00baseinstall_driver(mysql) failed: Can't load '../blib/arch/auto/DB D/mysql/mysql.so' for module DBD::mysql: ../blib/arch/auto/DBD/mysql/mysql.so: und efined symbol: uncompress at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. at (eval 1) line 3 at t/00base.t line 38 dubious Test returned status 255 (wstat 65280, 0xff00) Undefined subroutine &Test::Harness::WCOREDUMP called at /usr/lib/perl5/5.00503/Te st/Harness.pm line 288. make[1]: *** [test_dynamic] Error 255 make[1]: Leaving directory `/perlmods/Msql-Mysql-modules-1.2210/mysql' make: *** [test] Error 2 [root@clx Msql-Mysql-modules-1.2210]# Thanks, ChrisB -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gerald Clark Sent: Monday, April 09, 2001 6:12 AM To: Chris Becker Cc: [EMAIL PROTECTED] Subject: Re: Perl - DBD:DBI Errors Then load the ldconfig RPM. Chris Becker wrote: > > Gerald - > > My rpm was hosed. I downloaded from a rh ftp site and got it installed. > Now back to installing zlib - see command below: > > /linuxrpms>rpm -ivh zlib-1.1.3-6.i386.rpm > failed dependencies: > /sbin/ldconfig is needed by zlib-1.1.3-6 > > I'm not having any luck figuring this out... > > Again - Thanks for your patience and working this thing through with me! > > Chris B > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Gerald Clark > Sent: Friday, April 06, 2001 10:28 AM > To: Chris Becker > Cc: [EMAIL PROTECTED] > Subject: Re: Perl - DBD:DBI Errors > > Looks like you may have trashed rpmrc. > Does it exist? > > If not, you have a problem. Check with Red Hat. > > Chris Becker wrote: > > > > yes. > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Gerald Clark > > Sent: Friday, April 06, 2001 5:59 AM > > To: Chris Becker > > Cc: [EMAIL PROTECTED] > > Subject: Re: Perl - DBD:DBI Errors > > > > You are logged in as root, are you not? > > > > Chris Becker wrote: > > > > > > Gerald, > > > > > > I grabbed the correct rpm for zlib under RedHat/RPMS - but I still get > the > > > error message: > > > >rpm -ivh zlib-1.1.3-6.rpm > > > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or > > directory. > > > > > > I'm logged in as root. Any ideas? > > > > > > Thanks, > > > Chris B > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > > Behalf Of Gerald Clark > > > Sent: Wednesday, April 04, 2001 10:23 AM > > > To: Chris Becker > > > Cc: [EMAIL PROTECTED] > > > Subject: Re: Perl - DBD:DBI Errors > > > > > > Chris Becker wrote: > > > > > > > > I checked my RH6.2 install cd's and found zlib-1.1.3-6.src.rpm, I went > > to > > > > install the package with the following command and get the following > > > error: > > > > > > > > >rpm -ivh zlib-1.1.3-6.src.rpm > > > > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or > > directory. > > > > > > > > When I originally installed the os I selected a custom install and > > checked > > > > every option provided. Why can I not use the rpm utility? Do I need > to > > > > install that? I have an rpm entry in the man pages??? I am logged in > > as > > > > root. > > > > > > > > Please help, and... > > > > > > > > Thanks Again, > > > > ChrisB > > > > > > > > -Original Message- > > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On > > > > Behalf Of Gerald Clark > > > > Sent: Wednesday, March 28, 2001 9:26 AM > > > > To: Chris Becker > > > > Cc: [EMAIL PROTECTED] > >
Re: Perl - DBD:DBI Errors
Then load the ldconfig RPM. Chris Becker wrote: > > Gerald - > > My rpm was hosed. I downloaded from a rh ftp site and got it installed. > Now back to installing zlib - see command below: > > /linuxrpms>rpm -ivh zlib-1.1.3-6.i386.rpm > failed dependencies: > /sbin/ldconfig is needed by zlib-1.1.3-6 > > I'm not having any luck figuring this out... > > Again - Thanks for your patience and working this thing through with me! > > Chris B > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Gerald Clark > Sent: Friday, April 06, 2001 10:28 AM > To: Chris Becker > Cc: [EMAIL PROTECTED] > Subject: Re: Perl - DBD:DBI Errors > > Looks like you may have trashed rpmrc. > Does it exist? > > If not, you have a problem. Check with Red Hat. > > Chris Becker wrote: > > > > yes. > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Gerald Clark > > Sent: Friday, April 06, 2001 5:59 AM > > To: Chris Becker > > Cc: [EMAIL PROTECTED] > > Subject: Re: Perl - DBD:DBI Errors > > > > You are logged in as root, are you not? > > > > Chris Becker wrote: > > > > > > Gerald, > > > > > > I grabbed the correct rpm for zlib under RedHat/RPMS - but I still get > the > > > error message: > > > >rpm -ivh zlib-1.1.3-6.rpm > > > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or > > directory. > > > > > > I'm logged in as root. Any ideas? > > > > > > Thanks, > > > Chris B > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > > Behalf Of Gerald Clark > > > Sent: Wednesday, April 04, 2001 10:23 AM > > > To: Chris Becker > > > Cc: [EMAIL PROTECTED] > > > Subject: Re: Perl - DBD:DBI Errors > > > > > > Chris Becker wrote: > > > > > > > > I checked my RH6.2 install cd's and found zlib-1.1.3-6.src.rpm, I went > > to > > > > install the package with the following command and get the following > > > error: > > > > > > > > >rpm -ivh zlib-1.1.3-6.src.rpm > > > > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or > > directory. > > > > > > > > When I originally installed the os I selected a custom install and > > checked > > > > every option provided. Why can I not use the rpm utility? Do I need > to > > > > install that? I have an rpm entry in the man pages??? I am logged in > > as > > > > root. > > > > > > > > Please help, and... > > > > > > > > Thanks Again, > > > > ChrisB > > > > > > > > -Original Message- > > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On > > > > Behalf Of Gerald Clark > > > > Sent: Wednesday, March 28, 2001 9:26 AM > > > > To: Chris Becker > > > > Cc: [EMAIL PROTECTED] > > > > Subject: Re: Perl - DBD:DBI Errors > > > > > > > > You don't have zlib on your machine. > > > > Check your 6.2 CD. > > > > > > > > Chris Becker wrote: > > > > > > > > > > I'm having trouble installing the perl module DBD specifically. I > > found > > > > on > > > > > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to > install > > it > > > > and > > > > > got errors, I discovered I needed DBI installed first. So I found > > > > DBI-1.13 > > > > > and did the following: > > > > > > > > > > perl Makefile.PL > > > > > make > > > > > make test > > > > > > > > > > Made 100 connections in 0 wallclock secs... > > > > > test.pl done > > > > > > > > > > DBI seemed to install ok. Then I found DBD > Msql-Mysql-modules-1.2210 > > > and > > > > > did the following: > > > > > perl Makefile.PL > > > > > select 1) MySQL only > > > > > n - for install perl emulation > > > > > then > > > > > make > > > > > make test > > > > > > > > > > then get output from make test: > > > > > ...install_driver(mysql) failed: Can't lo
RE: Perl - DBD:DBI Errors
Gerald - My rpm was hosed. I downloaded from a rh ftp site and got it installed. Now back to installing zlib - see command below: /linuxrpms>rpm -ivh zlib-1.1.3-6.i386.rpm failed dependencies: /sbin/ldconfig is needed by zlib-1.1.3-6 I'm not having any luck figuring this out... Again - Thanks for your patience and working this thing through with me! Chris B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gerald Clark Sent: Friday, April 06, 2001 10:28 AM To: Chris Becker Cc: [EMAIL PROTECTED] Subject: Re: Perl - DBD:DBI Errors Looks like you may have trashed rpmrc. Does it exist? If not, you have a problem. Check with Red Hat. Chris Becker wrote: > > yes. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Gerald Clark > Sent: Friday, April 06, 2001 5:59 AM > To: Chris Becker > Cc: [EMAIL PROTECTED] > Subject: Re: Perl - DBD:DBI Errors > > You are logged in as root, are you not? > > Chris Becker wrote: > > > > Gerald, > > > > I grabbed the correct rpm for zlib under RedHat/RPMS - but I still get the > > error message: > > >rpm -ivh zlib-1.1.3-6.rpm > > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or > directory. > > > > I'm logged in as root. Any ideas? > > > > Thanks, > > Chris B > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Gerald Clark > > Sent: Wednesday, April 04, 2001 10:23 AM > > To: Chris Becker > > Cc: [EMAIL PROTECTED] > > Subject: Re: Perl - DBD:DBI Errors > > > > Chris Becker wrote: > > > > > > I checked my RH6.2 install cd's and found zlib-1.1.3-6.src.rpm, I went > to > > > install the package with the following command and get the following > > error: > > > > > > >rpm -ivh zlib-1.1.3-6.src.rpm > > > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or > directory. > > > > > > When I originally installed the os I selected a custom install and > checked > > > every option provided. Why can I not use the rpm utility? Do I need to > > > install that? I have an rpm entry in the man pages??? I am logged in > as > > > root. > > > > > > Please help, and... > > > > > > Thanks Again, > > > ChrisB > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > > Behalf Of Gerald Clark > > > Sent: Wednesday, March 28, 2001 9:26 AM > > > To: Chris Becker > > > Cc: [EMAIL PROTECTED] > > > Subject: Re: Perl - DBD:DBI Errors > > > > > > You don't have zlib on your machine. > > > Check your 6.2 CD. > > > > > > Chris Becker wrote: > > > > > > > > I'm having trouble installing the perl module DBD specifically. I > found > > > on > > > > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to install > it > > > and > > > > got errors, I discovered I needed DBI installed first. So I found > > > DBI-1.13 > > > > and did the following: > > > > > > > > perl Makefile.PL > > > > make > > > > make test > > > > > > > > Made 100 connections in 0 wallclock secs... > > > > test.pl done > > > > > > > > DBI seemed to install ok. Then I found DBD Msql-Mysql-modules-1.2210 > > and > > > > did the following: > > > > perl Makefile.PL > > > > select 1) MySQL only > > > > n - for install perl emulation > > > > then > > > > make > > > > make test > > > > > > > > then get output from make test: > > > > ...install_driver(mysql) failed: Can't load > > > > '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > > > > ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at > > > > /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > > > > at (eval 1) line 3 > > > > at t/00base.t line 38 > > > > dubious > > > > Test returned status 255 (wstat 65280, 0xff00) > > > > Undefined subroutine &Test::Harness::WCOREDUMP called at > > > > /usr/lib/perl5/5.00503/ > > > > Test/Harness.pm line 288. > > > > make[1]: *** [test_dynamic] Error 255 > > > > make[1]: Leaving directory '/perlmods/Msql-Mysql-module
RE: Perl - DBD:DBI Errors
I had problems with the DBD as well...the problem was the mysql version I was using from my redhat cd had some bugs. I would grab the latest version and re-install mysql, at least this way you know it's not a version problem e -Original Message- From: Chris Becker [mailto:[EMAIL PROTECTED]] Sent: Friday, April 06, 2001 10:06 AM To: Gerald Clark Cc: [EMAIL PROTECTED] Subject: RE: Perl - DBD:DBI Errors yes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gerald Clark Sent: Friday, April 06, 2001 5:59 AM To: Chris Becker Cc: [EMAIL PROTECTED] Subject: Re: Perl - DBD:DBI Errors You are logged in as root, are you not? Chris Becker wrote: > > Gerald, > > I grabbed the correct rpm for zlib under RedHat/RPMS - but I still get the > error message: > >rpm -ivh zlib-1.1.3-6.rpm > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. > > I'm logged in as root. Any ideas? > > Thanks, > Chris B > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Gerald Clark > Sent: Wednesday, April 04, 2001 10:23 AM > To: Chris Becker > Cc: [EMAIL PROTECTED] > Subject: Re: Perl - DBD:DBI Errors > > Chris Becker wrote: > > > > I checked my RH6.2 install cd's and found zlib-1.1.3-6.src.rpm, I went to > > install the package with the following command and get the following > error: > > > > >rpm -ivh zlib-1.1.3-6.src.rpm > > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. > > > > When I originally installed the os I selected a custom install and checked > > every option provided. Why can I not use the rpm utility? Do I need to > > install that? I have an rpm entry in the man pages??? I am logged in as > > root. > > > > Please help, and... > > > > Thanks Again, > > ChrisB > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Gerald Clark > > Sent: Wednesday, March 28, 2001 9:26 AM > > To: Chris Becker > > Cc: [EMAIL PROTECTED] > > Subject: Re: Perl - DBD:DBI Errors > > > > You don't have zlib on your machine. > > Check your 6.2 CD. > > > > Chris Becker wrote: > > > > > > I'm having trouble installing the perl module DBD specifically. I found > > on > > > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to install it > > and > > > got errors, I discovered I needed DBI installed first. So I found > > DBI-1.13 > > > and did the following: > > > > > > perl Makefile.PL > > > make > > > make test > > > > > > Made 100 connections in 0 wallclock secs... > > > test.pl done > > > > > > DBI seemed to install ok. Then I found DBD Msql-Mysql-modules-1.2210 > and > > > did the following: > > > perl Makefile.PL > > > select 1) MySQL only > > > n - for install perl emulation > > > then > > > make > > > make test > > > > > > then get output from make test: > > > ...install_driver(mysql) failed: Can't load > > > '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > > > ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at > > > /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > > > at (eval 1) line 3 > > > at t/00base.t line 38 > > > dubious > > > Test returned status 255 (wstat 65280, 0xff00) > > > Undefined subroutine &Test::Harness::WCOREDUMP called at > > > /usr/lib/perl5/5.00503/ > > > Test/Harness.pm line 288. > > > make[1]: *** [test_dynamic] Error 255 > > > make[1]: Leaving directory '/perlmods/Msql-Mysql-modules-1.2210/mysql' > > > make: *** [test] Error\ 2 > > > > > > after the above errors even i tried executing the 'make install'. Then > I > > > tried a sample perl file using the 'use DBI' function to test the perl > > > module install w/ MySQL, and when I execute I get the same error: > > undefined > > > symbol: uncompress at blah blah blah... > > > > > > Please Help. What am I doing wrong? Do I need to do an un-install > before > > > trying to re-install DBD? Should I blow out Perl altogether and > > reinstall? > > > Has anyone seen this before? > > > > > > Thanks in advance, > > > > > > Chris Becker > > > > > > That is a source RPM. > Your looki
Re: Perl - DBD:DBI Errors
Looks like you may have trashed rpmrc. Does it exist? If not, you have a problem. Check with Red Hat. Chris Becker wrote: > > yes. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Gerald Clark > Sent: Friday, April 06, 2001 5:59 AM > To: Chris Becker > Cc: [EMAIL PROTECTED] > Subject: Re: Perl - DBD:DBI Errors > > You are logged in as root, are you not? > > Chris Becker wrote: > > > > Gerald, > > > > I grabbed the correct rpm for zlib under RedHat/RPMS - but I still get the > > error message: > > >rpm -ivh zlib-1.1.3-6.rpm > > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or > directory. > > > > I'm logged in as root. Any ideas? > > > > Thanks, > > Chris B > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Gerald Clark > > Sent: Wednesday, April 04, 2001 10:23 AM > > To: Chris Becker > > Cc: [EMAIL PROTECTED] > > Subject: Re: Perl - DBD:DBI Errors > > > > Chris Becker wrote: > > > > > > I checked my RH6.2 install cd's and found zlib-1.1.3-6.src.rpm, I went > to > > > install the package with the following command and get the following > > error: > > > > > > >rpm -ivh zlib-1.1.3-6.src.rpm > > > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or > directory. > > > > > > When I originally installed the os I selected a custom install and > checked > > > every option provided. Why can I not use the rpm utility? Do I need to > > > install that? I have an rpm entry in the man pages??? I am logged in > as > > > root. > > > > > > Please help, and... > > > > > > Thanks Again, > > > ChrisB > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > > Behalf Of Gerald Clark > > > Sent: Wednesday, March 28, 2001 9:26 AM > > > To: Chris Becker > > > Cc: [EMAIL PROTECTED] > > > Subject: Re: Perl - DBD:DBI Errors > > > > > > You don't have zlib on your machine. > > > Check your 6.2 CD. > > > > > > Chris Becker wrote: > > > > > > > > I'm having trouble installing the perl module DBD specifically. I > found > > > on > > > > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to install > it > > > and > > > > got errors, I discovered I needed DBI installed first. So I found > > > DBI-1.13 > > > > and did the following: > > > > > > > > perl Makefile.PL > > > > make > > > > make test > > > > > > > > Made 100 connections in 0 wallclock secs... > > > > test.pl done > > > > > > > > DBI seemed to install ok. Then I found DBD Msql-Mysql-modules-1.2210 > > and > > > > did the following: > > > > perl Makefile.PL > > > > select 1) MySQL only > > > > n - for install perl emulation > > > > then > > > > make > > > > make test > > > > > > > > then get output from make test: > > > > ...install_driver(mysql) failed: Can't load > > > > '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > > > > ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at > > > > /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > > > > at (eval 1) line 3 > > > > at t/00base.t line 38 > > > > dubious > > > > Test returned status 255 (wstat 65280, 0xff00) > > > > Undefined subroutine &Test::Harness::WCOREDUMP called at > > > > /usr/lib/perl5/5.00503/ > > > > Test/Harness.pm line 288. > > > > make[1]: *** [test_dynamic] Error 255 > > > > make[1]: Leaving directory '/perlmods/Msql-Mysql-modules-1.2210/mysql' > > > > make: *** [test] Error\ 2 > > > > > > > > after the above errors even i tried executing the 'make install'. > Then > > I > > > > tried a sample perl file using the 'use DBI' function to test the perl > > > > module install w/ MySQL, and when I execute I get the same error: > > > undefined > > > > symbol: uncompress at blah blah blah... > > > > > > > > Please Help. What am I doing wrong? Do I need to do an un-instal
RE: Perl - DBD:DBI Errors
yes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gerald Clark Sent: Friday, April 06, 2001 5:59 AM To: Chris Becker Cc: [EMAIL PROTECTED] Subject: Re: Perl - DBD:DBI Errors You are logged in as root, are you not? Chris Becker wrote: > > Gerald, > > I grabbed the correct rpm for zlib under RedHat/RPMS - but I still get the > error message: > >rpm -ivh zlib-1.1.3-6.rpm > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. > > I'm logged in as root. Any ideas? > > Thanks, > Chris B > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Gerald Clark > Sent: Wednesday, April 04, 2001 10:23 AM > To: Chris Becker > Cc: [EMAIL PROTECTED] > Subject: Re: Perl - DBD:DBI Errors > > Chris Becker wrote: > > > > I checked my RH6.2 install cd's and found zlib-1.1.3-6.src.rpm, I went to > > install the package with the following command and get the following > error: > > > > >rpm -ivh zlib-1.1.3-6.src.rpm > > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. > > > > When I originally installed the os I selected a custom install and checked > > every option provided. Why can I not use the rpm utility? Do I need to > > install that? I have an rpm entry in the man pages??? I am logged in as > > root. > > > > Please help, and... > > > > Thanks Again, > > ChrisB > > > > -Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Gerald Clark > > Sent: Wednesday, March 28, 2001 9:26 AM > > To: Chris Becker > > Cc: [EMAIL PROTECTED] > > Subject: Re: Perl - DBD:DBI Errors > > > > You don't have zlib on your machine. > > Check your 6.2 CD. > > > > Chris Becker wrote: > > > > > > I'm having trouble installing the perl module DBD specifically. I found > > on > > > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to install it > > and > > > got errors, I discovered I needed DBI installed first. So I found > > DBI-1.13 > > > and did the following: > > > > > > perl Makefile.PL > > > make > > > make test > > > > > > Made 100 connections in 0 wallclock secs... > > > test.pl done > > > > > > DBI seemed to install ok. Then I found DBD Msql-Mysql-modules-1.2210 > and > > > did the following: > > > perl Makefile.PL > > > select 1) MySQL only > > > n - for install perl emulation > > > then > > > make > > > make test > > > > > > then get output from make test: > > > ...install_driver(mysql) failed: Can't load > > > '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > > > ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at > > > /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > > > at (eval 1) line 3 > > > at t/00base.t line 38 > > > dubious > > > Test returned status 255 (wstat 65280, 0xff00) > > > Undefined subroutine &Test::Harness::WCOREDUMP called at > > > /usr/lib/perl5/5.00503/ > > > Test/Harness.pm line 288. > > > make[1]: *** [test_dynamic] Error 255 > > > make[1]: Leaving directory '/perlmods/Msql-Mysql-modules-1.2210/mysql' > > > make: *** [test] Error\ 2 > > > > > > after the above errors even i tried executing the 'make install'. Then > I > > > tried a sample perl file using the 'use DBI' function to test the perl > > > module install w/ MySQL, and when I execute I get the same error: > > undefined > > > symbol: uncompress at blah blah blah... > > > > > > Please Help. What am I doing wrong? Do I need to do an un-install > before > > > trying to re-install DBD? Should I blow out Perl altogether and > > reinstall? > > > Has anyone seen this before? > > > > > > Thanks in advance, > > > > > > Chris Becker > > > > > > That is a source RPM. > Your looking in the wrong directory. > look on RedHat/RPMS > > - > - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Perl - DBD:DBI Errors
You are logged in as root, are you not? Chris Becker wrote: > > Gerald, > > I grabbed the correct rpm for zlib under RedHat/RPMS - but I still get the > error message: > >rpm -ivh zlib-1.1.3-6.rpm > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. > > I'm logged in as root. Any ideas? > > Thanks, > Chris B > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Gerald Clark > Sent: Wednesday, April 04, 2001 10:23 AM > To: Chris Becker > Cc: [EMAIL PROTECTED] > Subject: Re: Perl - DBD:DBI Errors > > Chris Becker wrote: > > > > I checked my RH6.2 install cd's and found zlib-1.1.3-6.src.rpm, I went to > > install the package with the following command and get the following > error: > > > > >rpm -ivh zlib-1.1.3-6.src.rpm > > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. > > > > When I originally installed the os I selected a custom install and checked > > every option provided. Why can I not use the rpm utility? Do I need to > > install that? I have an rpm entry in the man pages??? I am logged in as > > root. > > > > Please help, and... > > > > Thanks Again, > > ChrisB > > > > -Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Gerald Clark > > Sent: Wednesday, March 28, 2001 9:26 AM > > To: Chris Becker > > Cc: [EMAIL PROTECTED] > > Subject: Re: Perl - DBD:DBI Errors > > > > You don't have zlib on your machine. > > Check your 6.2 CD. > > > > Chris Becker wrote: > > > > > > I'm having trouble installing the perl module DBD specifically. I found > > on > > > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to install it > > and > > > got errors, I discovered I needed DBI installed first. So I found > > DBI-1.13 > > > and did the following: > > > > > > perl Makefile.PL > > > make > > > make test > > > > > > Made 100 connections in 0 wallclock secs... > > > test.pl done > > > > > > DBI seemed to install ok. Then I found DBD Msql-Mysql-modules-1.2210 > and > > > did the following: > > > perl Makefile.PL > > > select 1) MySQL only > > > n - for install perl emulation > > > then > > > make > > > make test > > > > > > then get output from make test: > > > ...install_driver(mysql) failed: Can't load > > > '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > > > ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at > > > /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > > > at (eval 1) line 3 > > > at t/00base.t line 38 > > > dubious > > > Test returned status 255 (wstat 65280, 0xff00) > > > Undefined subroutine &Test::Harness::WCOREDUMP called at > > > /usr/lib/perl5/5.00503/ > > > Test/Harness.pm line 288. > > > make[1]: *** [test_dynamic] Error 255 > > > make[1]: Leaving directory '/perlmods/Msql-Mysql-modules-1.2210/mysql' > > > make: *** [test] Error\ 2 > > > > > > after the above errors even i tried executing the 'make install'. Then > I > > > tried a sample perl file using the 'use DBI' function to test the perl > > > module install w/ MySQL, and when I execute I get the same error: > > undefined > > > symbol: uncompress at blah blah blah... > > > > > > Please Help. What am I doing wrong? Do I need to do an un-install > before > > > trying to re-install DBD? Should I blow out Perl altogether and > > reinstall? > > > Has anyone seen this before? > > > > > > Thanks in advance, > > > > > > Chris Becker > > > > > > That is a source RPM. > Your looking in the wrong directory. > look on RedHat/RPMS > > - > - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
RE: Perl - DBD:DBI Errors
Gerald, I grabbed the correct rpm for zlib under RedHat/RPMS - but I still get the error message: >rpm -ivh zlib-1.1.3-6.rpm Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. I'm logged in as root. Any ideas? Thanks, Chris B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gerald Clark Sent: Wednesday, April 04, 2001 10:23 AM To: Chris Becker Cc: [EMAIL PROTECTED] Subject: Re: Perl - DBD:DBI Errors Chris Becker wrote: > > I checked my RH6.2 install cd's and found zlib-1.1.3-6.src.rpm, I went to > install the package with the following command and get the following error: > > >rpm -ivh zlib-1.1.3-6.src.rpm > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. > > When I originally installed the os I selected a custom install and checked > every option provided. Why can I not use the rpm utility? Do I need to > install that? I have an rpm entry in the man pages??? I am logged in as > root. > > Please help, and... > > Thanks Again, > ChrisB > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Gerald Clark > Sent: Wednesday, March 28, 2001 9:26 AM > To: Chris Becker > Cc: [EMAIL PROTECTED] > Subject: Re: Perl - DBD:DBI Errors > > You don't have zlib on your machine. > Check your 6.2 CD. > > Chris Becker wrote: > > > > I'm having trouble installing the perl module DBD specifically. I found > on > > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to install it > and > > got errors, I discovered I needed DBI installed first. So I found > DBI-1.13 > > and did the following: > > > > perl Makefile.PL > > make > > make test > > > > Made 100 connections in 0 wallclock secs... > > test.pl done > > > > DBI seemed to install ok. Then I found DBD Msql-Mysql-modules-1.2210 and > > did the following: > > perl Makefile.PL > > select 1) MySQL only > > n - for install perl emulation > > then > > make > > make test > > > > then get output from make test: > > ...install_driver(mysql) failed: Can't load > > '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > > ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at > > /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > > at (eval 1) line 3 > > at t/00base.t line 38 > > dubious > > Test returned status 255 (wstat 65280, 0xff00) > > Undefined subroutine &Test::Harness::WCOREDUMP called at > > /usr/lib/perl5/5.00503/ > > Test/Harness.pm line 288. > > make[1]: *** [test_dynamic] Error 255 > > make[1]: Leaving directory '/perlmods/Msql-Mysql-modules-1.2210/mysql' > > make: *** [test] Error\ 2 > > > > after the above errors even i tried executing the 'make install'. Then I > > tried a sample perl file using the 'use DBI' function to test the perl > > module install w/ MySQL, and when I execute I get the same error: > undefined > > symbol: uncompress at blah blah blah... > > > > Please Help. What am I doing wrong? Do I need to do an un-install before > > trying to re-install DBD? Should I blow out Perl altogether and > reinstall? > > Has anyone seen this before? > > > > Thanks in advance, > > > > Chris Becker > > > That is a source RPM. Your looking in the wrong directory. look on RedHat/RPMS - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Perl - DBD:DBI Errors
Chris Becker wrote: > > I checked my RH6.2 install cd's and found zlib-1.1.3-6.src.rpm, I went to > install the package with the following command and get the following error: > > >rpm -ivh zlib-1.1.3-6.src.rpm > Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. > > When I originally installed the os I selected a custom install and checked > every option provided. Why can I not use the rpm utility? Do I need to > install that? I have an rpm entry in the man pages??? I am logged in as > root. > > Please help, and... > > Thanks Again, > ChrisB > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Gerald Clark > Sent: Wednesday, March 28, 2001 9:26 AM > To: Chris Becker > Cc: [EMAIL PROTECTED] > Subject: Re: Perl - DBD:DBI Errors > > You don't have zlib on your machine. > Check your 6.2 CD. > > Chris Becker wrote: > > > > I'm having trouble installing the perl module DBD specifically. I found > on > > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to install it > and > > got errors, I discovered I needed DBI installed first. So I found > DBI-1.13 > > and did the following: > > > > perl Makefile.PL > > make > > make test > > > > Made 100 connections in 0 wallclock secs... > > test.pl done > > > > DBI seemed to install ok. Then I found DBD Msql-Mysql-modules-1.2210 and > > did the following: > > perl Makefile.PL > > select 1) MySQL only > > n - for install perl emulation > > then > > make > > make test > > > > then get output from make test: > > ...install_driver(mysql) failed: Can't load > > '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > > ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at > > /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > > at (eval 1) line 3 > > at t/00base.t line 38 > > dubious > > Test returned status 255 (wstat 65280, 0xff00) > > Undefined subroutine &Test::Harness::WCOREDUMP called at > > /usr/lib/perl5/5.00503/ > > Test/Harness.pm line 288. > > make[1]: *** [test_dynamic] Error 255 > > make[1]: Leaving directory '/perlmods/Msql-Mysql-modules-1.2210/mysql' > > make: *** [test] Error\ 2 > > > > after the above errors even i tried executing the 'make install'. Then I > > tried a sample perl file using the 'use DBI' function to test the perl > > module install w/ MySQL, and when I execute I get the same error: > undefined > > symbol: uncompress at blah blah blah... > > > > Please Help. What am I doing wrong? Do I need to do an un-install before > > trying to re-install DBD? Should I blow out Perl altogether and > reinstall? > > Has anyone seen this before? > > > > Thanks in advance, > > > > Chris Becker > > > That is a source RPM. Your looking in the wrong directory. look on RedHat/RPMS - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
RE: Perl - DBD:DBI Errors
I checked my RH6.2 install cd's and found zlib-1.1.3-6.src.rpm, I went to install the package with the following command and get the following error: >rpm -ivh zlib-1.1.3-6.src.rpm Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. When I originally installed the os I selected a custom install and checked every option provided. Why can I not use the rpm utility? Do I need to install that? I have an rpm entry in the man pages??? I am logged in as root. Please help, and... Thanks Again, ChrisB -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gerald Clark Sent: Wednesday, March 28, 2001 9:26 AM To: Chris Becker Cc: [EMAIL PROTECTED] Subject: Re: Perl - DBD:DBI Errors You don't have zlib on your machine. Check your 6.2 CD. Chris Becker wrote: > > I'm having trouble installing the perl module DBD specifically. I found on > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to install it and > got errors, I discovered I needed DBI installed first. So I found DBI-1.13 > and did the following: > > perl Makefile.PL > make > make test > > Made 100 connections in 0 wallclock secs... > test.pl done > > DBI seemed to install ok. Then I found DBD Msql-Mysql-modules-1.2210 and > did the following: > perl Makefile.PL > select 1) MySQL only > n - for install perl emulation > then > make > make test > > then get output from make test: > ...install_driver(mysql) failed: Can't load > '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at > /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > at (eval 1) line 3 > at t/00base.t line 38 > dubious > Test returned status 255 (wstat 65280, 0xff00) > Undefined subroutine &Test::Harness::WCOREDUMP called at > /usr/lib/perl5/5.00503/ > Test/Harness.pm line 288. > make[1]: *** [test_dynamic] Error 255 > make[1]: Leaving directory '/perlmods/Msql-Mysql-modules-1.2210/mysql' > make: *** [test] Error\ 2 > > after the above errors even i tried executing the 'make install'. Then I > tried a sample perl file using the 'use DBI' function to test the perl > module install w/ MySQL, and when I execute I get the same error: undefined > symbol: uncompress at blah blah blah... > > Please Help. What am I doing wrong? Do I need to do an un-install before > trying to re-install DBD? Should I blow out Perl altogether and reinstall? > Has anyone seen this before? > > Thanks in advance, > > Chris Becker > > - > Before posting, please check: >http://www.mysql.com/manual.php (the manual) >http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Perl - DBD:DBI Errors
If you are running RH Linux, you should find the RPM on the CD. Chris Becker wrote: > > Is the zlib on CPAN? like module Compress::Zlib ? > > Many Thanks Gerald! > > ChrisB > MCSE MCDBA > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Gerald Clark > Sent: Wednesday, March 28, 2001 9:26 AM > To: Chris Becker > Cc: [EMAIL PROTECTED] > Subject: Re: Perl - DBD:DBI Errors > > You don't have zlib on your machine. > Check your 6.2 CD. > > Chris Becker wrote: > > > > I'm having trouble installing the perl module DBD specifically. I found > on > > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to install it > and > > got errors, I discovered I needed DBI installed first. So I found > DBI-1.13 > > and did the following: > > > > perl Makefile.PL > > make > > make test > > > > Made 100 connections in 0 wallclock secs... > > test.pl done > > > > DBI seemed to install ok. Then I found DBD Msql-Mysql-modules-1.2210 and > > did the following: > > perl Makefile.PL > > select 1) MySQL only > > n - for install perl emulation > > then > > make > > make test > > > > then get output from make test: > > ...install_driver(mysql) failed: Can't load > > '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > > ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at > > /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > > at (eval 1) line 3 > > at t/00base.t line 38 > > dubious > > Test returned status 255 (wstat 65280, 0xff00) > > Undefined subroutine &Test::Harness::WCOREDUMP called at > > /usr/lib/perl5/5.00503/ > > Test/Harness.pm line 288. > > make[1]: *** [test_dynamic] Error 255 > > make[1]: Leaving directory '/perlmods/Msql-Mysql-modules-1.2210/mysql' > > make: *** [test] Error\ 2 > > > > after the above errors even i tried executing the 'make install'. Then I > > tried a sample perl file using the 'use DBI' function to test the perl > > module install w/ MySQL, and when I execute I get the same error: > undefined > > symbol: uncompress at blah blah blah... > > > > Please Help. What am I doing wrong? Do I need to do an un-install before > > trying to re-install DBD? Should I blow out Perl altogether and > reinstall? > > Has anyone seen this before? > > > > Thanks in advance, > > > > Chris Becker > > > > - > > Before posting, please check: > >http://www.mysql.com/manual.php (the manual) > >http://lists.mysql.com/ (the list archive) > > > > To request this thread, e-mail <[EMAIL PROTECTED]> > > To unsubscribe, e-mail > <[EMAIL PROTECTED]> > > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > - > Before posting, please check: >http://www.mysql.com/manual.php (the manual) >http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
RE: Perl - DBD:DBI Errors
Modules that look like Compress::Zlib are indeed on CPAN, they have a module search engine somewhere on the page On Wed, 28 Mar 2001, Chris Becker wrote: > > Is the zlib on CPAN? like module Compress::Zlib ? > > Many Thanks Gerald! > > ChrisB > MCSE MCDBA > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Gerald Clark > Sent: Wednesday, March 28, 2001 9:26 AM > To: Chris Becker > Cc: [EMAIL PROTECTED] > Subject: Re: Perl - DBD:DBI Errors > > > You don't have zlib on your machine. > Check your 6.2 CD. > > Chris Becker wrote: > > > > I'm having trouble installing the perl module DBD specifically. I found > on > > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to install it > and > > got errors, I discovered I needed DBI installed first. So I found > DBI-1.13 > > and did the following: > > > > perl Makefile.PL > > make > > make test > > > > Made 100 connections in 0 wallclock secs... > > test.pl done > > > > DBI seemed to install ok. Then I found DBD Msql-Mysql-modules-1.2210 and > > did the following: > > perl Makefile.PL > > select 1) MySQL only > > n - for install perl emulation > > then > > make > > make test > > > > then get output from make test: > > ...install_driver(mysql) failed: Can't load > > '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > > ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at > > /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > > at (eval 1) line 3 > > at t/00base.t line 38 > > dubious > > Test returned status 255 (wstat 65280, 0xff00) > > Undefined subroutine &Test::Harness::WCOREDUMP called at > > /usr/lib/perl5/5.00503/ > > Test/Harness.pm line 288. > > make[1]: *** [test_dynamic] Error 255 > > make[1]: Leaving directory '/perlmods/Msql-Mysql-modules-1.2210/mysql' > > make: *** [test] Error\ 2 > > > > after the above errors even i tried executing the 'make install'. Then I > > tried a sample perl file using the 'use DBI' function to test the perl > > module install w/ MySQL, and when I execute I get the same error: > undefined > > symbol: uncompress at blah blah blah... > > > > Please Help. What am I doing wrong? Do I need to do an un-install before > > trying to re-install DBD? Should I blow out Perl altogether and > reinstall? > > Has anyone seen this before? > > > > Thanks in advance, > > > > Chris Becker > > > > - > > Before posting, please check: > >http://www.mysql.com/manual.php (the manual) > >http://lists.mysql.com/ (the list archive) > > > > To request this thread, e-mail <[EMAIL PROTECTED]> > > To unsubscribe, e-mail > <[EMAIL PROTECTED]> > > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > - > Before posting, please check: >http://www.mysql.com/manual.php (the manual) >http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > > - > Before posting, please check: >http://www.mysql.com/manual.php (the manual) >http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail ><[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
RE: Perl - DBD:DBI Errors
Is the zlib on CPAN? like module Compress::Zlib ? Many Thanks Gerald! ChrisB MCSE MCDBA -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gerald Clark Sent: Wednesday, March 28, 2001 9:26 AM To: Chris Becker Cc: [EMAIL PROTECTED] Subject: Re: Perl - DBD:DBI Errors You don't have zlib on your machine. Check your 6.2 CD. Chris Becker wrote: > > I'm having trouble installing the perl module DBD specifically. I found on > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to install it and > got errors, I discovered I needed DBI installed first. So I found DBI-1.13 > and did the following: > > perl Makefile.PL > make > make test > > Made 100 connections in 0 wallclock secs... > test.pl done > > DBI seemed to install ok. Then I found DBD Msql-Mysql-modules-1.2210 and > did the following: > perl Makefile.PL > select 1) MySQL only > n - for install perl emulation > then > make > make test > > then get output from make test: > ...install_driver(mysql) failed: Can't load > '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at > /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > at (eval 1) line 3 > at t/00base.t line 38 > dubious > Test returned status 255 (wstat 65280, 0xff00) > Undefined subroutine &Test::Harness::WCOREDUMP called at > /usr/lib/perl5/5.00503/ > Test/Harness.pm line 288. > make[1]: *** [test_dynamic] Error 255 > make[1]: Leaving directory '/perlmods/Msql-Mysql-modules-1.2210/mysql' > make: *** [test] Error\ 2 > > after the above errors even i tried executing the 'make install'. Then I > tried a sample perl file using the 'use DBI' function to test the perl > module install w/ MySQL, and when I execute I get the same error: undefined > symbol: uncompress at blah blah blah... > > Please Help. What am I doing wrong? Do I need to do an un-install before > trying to re-install DBD? Should I blow out Perl altogether and reinstall? > Has anyone seen this before? > > Thanks in advance, > > Chris Becker > > - > Before posting, please check: >http://www.mysql.com/manual.php (the manual) >http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Perl - DBD:DBI Errors
You don't have zlib on your machine. Check your 6.2 CD. Chris Becker wrote: > > I'm having trouble installing the perl module DBD specifically. I found on > my CPAN cd the DBD module Msql-Mysql-modules-1.2208, tried to install it and > got errors, I discovered I needed DBI installed first. So I found DBI-1.13 > and did the following: > > perl Makefile.PL > make > make test > > Made 100 connections in 0 wallclock secs... > test.pl done > > DBI seemed to install ok. Then I found DBD Msql-Mysql-modules-1.2210 and > did the following: > perl Makefile.PL > select 1) MySQL only > n - for install perl emulation > then > make > make test > > then get output from make test: > ...install_driver(mysql) failed: Can't load > '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: > ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at > /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > at (eval 1) line 3 > at t/00base.t line 38 > dubious > Test returned status 255 (wstat 65280, 0xff00) > Undefined subroutine &Test::Harness::WCOREDUMP called at > /usr/lib/perl5/5.00503/ > Test/Harness.pm line 288. > make[1]: *** [test_dynamic] Error 255 > make[1]: Leaving directory '/perlmods/Msql-Mysql-modules-1.2210/mysql' > make: *** [test] Error\ 2 > > after the above errors even i tried executing the 'make install'. Then I > tried a sample perl file using the 'use DBI' function to test the perl > module install w/ MySQL, and when I execute I get the same error: undefined > symbol: uncompress at blah blah blah... > > Please Help. What am I doing wrong? Do I need to do an un-install before > trying to re-install DBD? Should I blow out Perl altogether and reinstall? > Has anyone seen this before? > > Thanks in advance, > > Chris Becker > > - > Before posting, please check: >http://www.mysql.com/manual.php (the manual) >http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail ><[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php