Re: dbi module and can't find lib question



On Wed, 2005-06-29 at 15:39 -0700, Morrison Davis wrote:
> I must be doing something wrong or there has to be a better way?
> I have compiled the dbi module it some how sucks in the path for the
> oracle libclntsh.so.8.0 and now when ever we move our database to another
> server I have to recompile or I get the following:

Is the Oracle install the same on the other server?

> install_driver(Oracle) failed: Can't load
> '/home/morry/src/pcdesign,v15.x/lib/site_perl/5.005/sun4-solaris/auto/DBD/Oracle/Oracle.so'
> for module DBD::Oracle: ld.so.1:
> /usr/dist/share/perl5,v5.6.1/5bin.sun4/perl: fatal: libclntsh.so.8.0:
> open failed: No such file or directory at

Are the Oracle versions the same?
Are you setting LD_LIBRARY_PATH env?

> /usr/dist/share/perl5,v5.6.1/lib/sun4-solaris/DynaLoader.pm line 206.
> at (eval 1) line 3
> Compilation failed in require at (eval 1) line 3.
> Is there way around this?
> Sorry water mark part of my signature, this site must block messages
> with images
>
>
>
--
Scott T. Hildreth <shildret@xxxxxxxxxxxxxxxxxxx>
.



Relevant Pages

  • Linked Server (Oracle 9i)
    ... Having problems connecting to an Oracle 9i database from within ... Microsoft ODBC for Oracle ... Windows 2000 - Advanced Server ... OLE DB error trace [OLE/DB Provider 'MSDAORA' ...
    (microsoft.public.sqlserver.odbc)
  • Linked Server (Oracle 9i)
    ... Having problems connecting to an Oracle 9i database from within ... Microsoft ODBC for Oracle ... Windows 2000 - Advanced Server ... OLE DB error trace [OLE/DB Provider 'MSDAORA' ...
    (microsoft.public.sqlserver)
  • RE: Vulnerability analysis tools
    ... Definitely you want your Oracle database behind a firewall. ... tell you the database is not meant to be exposed to the internet directly. ... 1- A web server hosted at an IDC ...
    (Security-Basics)
  • Re: problem connecting to db.
    ... Have you checked the listener log file on the database server? ... client is correct, and that the connection string that you are ... the Oracle client would be looking for a server ...
    (comp.databases.oracle.misc)
  • Re: test restore
    ... different server and have some questions. ... I then mounted the database but when i run "alter databse ... How can i use oracle to recognize this ...
    (comp.databases.oracle.server)