[rt-users] Solaris 10 + Apache 2 + mysql + DBD

Ruslan Zakirov ruslan.zakirov at gmail.com
Thu Nov 10 10:37:46 EST 2005


On 11/9/05, Ben Robson <ben.robson at classicblue.com.au> wrote:
>
> Hi all.
>
> I am working on getting RT working on a Solaris 10 x86 system using Apache
> 2, mod_perl2 and Mysql.
>
> When I start Apache 2 it fires up fine.  However as it accepts a connection
> I get the Apache 2 clean install test page and the following log entry shows
> up in error_log:
>
> [Wed Nov 09 15:58:58 2005] [error] [client an.ip.address] DBD::mysql
> initialisation failed: Can't locate object method "driver" via package
> "DBD::mysql" at /opt/csw/lib/perl/csw/DBI.pm line 747.\n\nPerhaps the
> capitalisation of DBD 'mysql' isn't right. at
> /opt/csw/share/perl/site_perl/DBIx/SearchBuilder/Handle.pm
> line 108\n
>
>
>
>
>
> The following is where my DBD.pm perl module instances are located:
>
> /opt/csw/share/perl/site_perl/DBIx/DBSchema/DBD.pm
>
> /opt/csw/lib/perl/csw/DBI/DBD.pm
Please, locate "DBD/mysql.pm" file. AFAIU it should be under /opt/csw/ dir.
[snip]
>
> As some of you may have worked out, I am using the BlastWave Solaris
> packages, as this has yielded the best result so far.  I am using their
> Perl, Apache2, Mysql4, gcc3 and perl modules where available.  All other
> modules have been installed via CPAN.
Are you sure that BlastWave's perl has access to modules you've
installed manually?


>
> So, with all this in hand, does anyone have any thoughts as to why the
> "driver" object method might not be getting found?
>
> Thanks,
>
> BenR
>
--
Best regards, Ruslan.



More information about the rt-users mailing list