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