Re: Install Driver failed: Can't load Oracle.sl for Module DBD::Oracle



Usually, loading the compiled XS Code for DBD::Oracle (Oracle.sl/dll/so/whatever) fails because the XS Code could not load the Oracle client libraries. Make sure you have the OCI libraries installed.

Alexander

On 29.06.2006 09:12, Onie Okhanedia wrote:

Hi, Please can someone help me, because whenever I run a perl script
that supposed to connect to a database, I get the following error
(please below in Italics). The file Oracle.sl does exist but I don't
know why the error keeps coming up.
Thanks

INFO$ SQL_COL150 Starting sql_collect.
install_driver(Oracle) failed: Can't load
'/med/tst/product/amd4//amd/arc/sql_collect/lib/perl5.8.0/auto/DBD/Oracl
e/Oracle.sl' for module DBD::Oracle: No such file or directory at
/med/tst/product/amd4//amd/arc/sql_collect/lib/perl5.8.0/PA-RISC2.0-thre
ad-multi/DynaLoader.pm line 229.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /med/tst/product/amd4//amd/arc/sql_collect/bin/sql_collect.pl line
479






--
Alexander Foken
mailto:alexander@xxxxxxxx http://www.foken.de/alexander/

.



Relevant Pages

  • Re: How does Require deal with multiple files of the same name in different directories
    ... IMHO, once it is decided to load the file, this is required to happen, so it is not ... A program written for older W32F versions is available somewhere. ... As the old libraries won't work with the new W32F anyway, ... downloaded apps, which means checking any downloadable apps I (and ...
    (comp.lang.forth)
  • Re: How does Require deal with multiple files of the same name in different directories
    ... the recompilation takes a few milliseconds ... IMHO, once it is decided to load the file, this is required to happen, so it is not ... A program written for older W32F versions is available somewhere. ... As the old libraries won't work with the new W32F anyway, ...
    (comp.lang.forth)
  • TIP #239: Enhance the load Command
    ... This TIP proposes enhancing the Tcl *load* command with the ability to ... load arbitrary libraries and functions. ...
    (comp.lang.tcl)
  • Re: Linux, X, ld, gcc, linking, shared libraries and stuff
    ... all the dependent DLLs (and all their dependent DLLs and all their ... DLL, though, this triggers the OS to actual load and link that DLL...hence, ... if your libraries are accessed almost immediately and ... As noted, though, most OSes out there are anything but "toolmaker's view" ...
    (alt.lang.asm)
  • Re: Dynamic Linking and Loading in an odd way
    ... it must be able to load either or both on demand. ... | yet I want to be able to create new libraries and functions without ... at coding time what that list file name is. ... If you are implementing a dynamic command facility in your ...
    (comp.unix.programmer)