List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:April 4 2001 5:22pm
Subject:Re: Perl - DBD:DBI Errors
View as plain text  
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: gclark@stripped [mailto:gclark@stripped]On
> Behalf Of Gerald Clark
> Sent: Wednesday, March 28, 2001 9:26 AM
> To: Chris Becker
> Cc: mysql@stripped
> 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
Thread
Perl - DBD:DBI ErrorsChris Becker28 Mar
  • Re: Perl - DBD:DBI ErrorsGerald Clark28 Mar
    • RE: Perl - DBD:DBI ErrorsChris Becker29 Mar
      • Re: Perl - DBD:DBI ErrorsHarald Fuchs29 Mar
      • RE: Perl - DBD:DBI ErrorsFreaked Personality29 Mar
      • Re: Perl - DBD:DBI ErrorsGerald Clark29 Mar
    • RE: Perl - DBD:DBI ErrorsChris Becker4 Apr
      • Re: Perl - DBD:DBI ErrorsGerald Clark4 Apr
        • RE: Perl - DBD:DBI ErrorsChris Becker5 Apr
          • Re: Perl - DBD:DBI ErrorsGerald Clark6 Apr
            • RE: Perl - DBD:DBI ErrorsChris Becker6 Apr
              • Re: Perl - DBD:DBI ErrorsGerald Clark6 Apr
                • RE: Perl - DBD:DBI ErrorsChris Becker7 Apr
                  • Re: Perl - DBD:DBI ErrorsGerald Clark9 Apr
                    • RE: Perl - DBD:DBI ErrorsChris Becker10 Apr
RE: Perl - DBD:DBI ErrorsEric Fegraus6 Apr