[rt-users] Oracle XE DB initialize error.

Jesse Vincent jesse at bestpractical.com
Wed Jan 18 09:50:26 EST 2006




On Wed, Jan 18, 2006 at 08:49:57AM -0500, Michael Methe wrote:
> I am installing RT on Fedora Core 3 which has Oracle 10g Express on it.
> When I run:
>  
> make initialize-database
>  
> I get:
>  
> /usr/bin/perl //usr/local/rt/sbin/rt-setup-database --action init --dba
> rt --prompt-for-dba-password
> Unable to load DBIx::SearchBuilder database handle for 'Oracle'.
> Perhaps you've picked an invalid database type or spelled it
> incorrectly.
> Can't load
> '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Oracle/
> Oracle.so' for module DBD::Oracle: libclntsh.so.10.1: cannot open shared
> object file: No such file or directory at
> /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.


Right there, that says you didn't install DBD::Oracle correctly.
Download a fresh copy from search.cpan.org and run:

perl Makefile.PL
make 
make test
# ONLY if make test passes
make install

Then try again.

>  at /usr/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Handle/Oracle.pm
> line 6
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Handle/Oracle.pm line
> 6.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Handle/Oracle.pm line
> 6.
> Compilation failed in require at (eval 184) line 1.
> BEGIN failed--compilation aborted at (eval 184) line 1.
> Compilation failed in require at //usr/local/rt/sbin/rt-setup-database
> line 86.
> make: *** [initialize-database] Error 255
>  
> I have done some searching but I am unable to make any progress on this
> one.  One issue is when I install DBD::Oracle via CPAN, I am told it is
> up to date.  When I do a testdeps I am told by RT that it is missing.
> This is rather confusing.  I am using version 1.17 of DBD::Oracle.
>  
> Thanks
>  
> -Mike M

> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> 
> Download a free sample chapter of RT Essentials from O'Reilly Media at http://rtbook.bestpractical.com
> 
> WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
> San Francisco - Find out more at http://bestpractical.com/services/training.html

-- 



More information about the rt-users mailing list