[rt-users] RPM installation of RT

John Oliver joliver at john-oliver.net
Thu Apr 12 16:18:35 EDT 2007


On Thu, Apr 12, 2007 at 03:56:28PM -0400, Jesse Vincent wrote:
> 
> 
> 
> On Thu, Apr 12, 2007 at 12:53:52PM -0700, John Oliver wrote:
> > I installed Fedora Core 6 on a machine, and was very pleasantly
> > surprised when "yum install rt3" worked like a charm, after the hours
> > I'd spent trying to get RT installed under RHEL4! :-)
> > 
> > I went to http://my-server/rt3/ and the error_log says:
> > 
> > [Thu Apr 12 11:37:28 2007] [error] [client 192.168.2.192]
> > install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC
> 
> Looks like the RPM ddidn't handle the dependencies correctly.
> 
> > I do have mysql.pm 
> > 
> > [root at sdtvm08 ~]# find / -name mysql.pm
> > /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm
> > /usr/lib/perl5/vendor_perl/5.8.8/DBIx/DBSchema/DBD/mysql.pm
> 
> Perl paths are fully qalified.
> 
> You have DBIx::SearchBuilder::Handle::mysql and
> DBIx::DBSchema::DBD::mysql, but not DBD::mysql.
> 
> You'll need to install DBD::mysql. 

Thank you Jesse!

I installed that via yum, but still have the same issue.  I do have the
DBD::mysql, but I guess not where @INC expects it to be:

[root at sdtvm08 ~]# find / -name mysql.pm
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Bundle/DBD/mysql.pm
/usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm
/usr/lib/perl5/vendor_perl/5.8.8/DBIx/DBSchema/DBD/mysql.pm

Should I just symlink it, or is there a "right" way to correct this?

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************



More information about the rt-users mailing list