Re: Install of DBD::Oracle on RHEL 4 (Oracle 10g R1)



I just discovered the solution to my problem:

The environment variable LD_LIBRARY_PATH was not set. It needs to be
set so that the shared libraries provided by Oracle can be loaded. I
set it to $ORACLE_HOME/bin and everything was fine. I'm not sure
whether this needs to be documented somewhere; maybe it was included in
the install docs from Oracle and I missed it somehow.


David McNerney wrote:
> Hi all,
>
> I'm not sure that this is the correct forum for this question;
> apologies if it is not. I'm trying to install DBD::Oracle 1.16 but have
> run into problems.
>
> perl Makefile.PL -> OK
> make -> some warnings but seems to complete
> make test -> crashes with an error from Dyanloader: Can't
> load .../Oracle.so .... cannot open shared object file: No such file or
> directory
>

.



Relevant Pages

  • Re: Oracle make test failing on HP/UX
    ... Failed to load Oracle extension and/or shared libraries: ... Compilation failed in require at line 3. ... Am I just not understanding the POD and suggestions? ...
    (perl.dbi.users)
  • top pstree needs libncurses.so.4
    ... shared object file: ... pstree:error while loading shared libraries: libncurses.so.4:cannot open ... compiled software. ...
    (Debian-User)
  • Re: lib64
    ... shared libraries: libxml2.so.2: cannot open shared object file: No such ... How do I fix this problem? ...
    (Fedora)
  • Re: C++ 5.8 linker
    ... There is -N linker option. ... (For shared libraries -znodefs is the default, ... When you install Oracle 11 client distribution, ... If your ldd output is a result of trying that, ...
    (comp.unix.solaris)
  • Re: question about compiling tcl/tk and c program
    ... shared object file: ... I use "ldd" to check test, then output message is as follows: ... it maybe because my shared libraries is not set correctly after my ...
    (comp.lang.tcl)