shared library path problem

From: Prem K Mehrotra (premmehrotra_at_hotmail.com)
Date: 04/24/04

  • Next message: jignaasu: "Re: shared library path problem"
    Date: 24 Apr 2004 14:58:53 -0700
    
    

    I have Oracle installed on a HP UX 11 box. I want to use svrmgrl (on a
    HP UNIX 11i box)
    which uses a shared libary libjava.sl as shown below (output
    of chatr svrmgrl):
    shared library list:
                 dynamic
    /local8/app/oracle/product/8.1.6/JRE/lib/PA_RISC/native_threads/libjava.sl
                 dynamic
    /local8/app/oracle/product/8.1.6/lib//libwtc8.sl
                 dynamic /usr/lib/librt.2
                 dynamic /usr/lib/libpthread.1
                 dynamic /usr/lib/libnss_dns.1
                 dynamic /usr/lib/libdld.2
                 dynamic /usr/lib/libm.2
                 dynamic /usr/lib/libc.2
             shared library binding:
    I have mounted ORACLE_HOME on a HP UNIX 11i in a different
    ORACLE_HOME. libjava.sl on HP UNIX 11 box is under:
    cd /oracle8/oracle8app/jre/1.1.8/lib/PA_RISC/native_threads
    ls -al libjava.sl
    -rwxr-xr-x 1 oracle8 oinstall 1675264 Aug 8 2001 libjava.sl

    I have set SHLIB_PATH=/oracle8/oracle8app/jre/1.1.8/lib/PA_RISC/native_threads:/oracle8/oracle8app/8.1.6/lib32:/oracle8/oracle8app/8.1.6/lib

    on HP UNIX 11i box.

    When I run svrmgrl, I get following error:

    Oracle Server Manager Release 3.1.6.0.0 - Production

    Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.

    /usr/lib/dld.sl: Can't open shared library:
    /local8/app/oracle/product/8.1.6/JRE/lib/PA_RISC/native_threads/libjava.sl
    /usr/lib/dld.sl: No such file or directory
    /usr/lib/dld.sl: Can't open shared library:
    /local8/app/oracle/product/8.1.6/JRE/lib/PA_RISC/native_threads/libjava.sl
    /usr/lib/dld.sl: No such file or directory
    ORA-12547: TNS:lost contact
    SVRMGR>

    Why is that? When the shared library is shown as dynamic, why it is
    not picked in a different location as specified by SHLIB_PATH.

    Any help will be appreciated.

    Thanks,

    Prem


  • Next message: jignaasu: "Re: shared library path problem"

    Relevant Pages

    • Re: WordPerfect for OpenServer
      ... > would benefit from the final WordPerfect release for Unix. ... I bought it as a spare copy and I use the other copy in production. ... WP for Windows, save the .frm file out there on the server, and the included ... No need for the user to perform the merging themselves! ...
      (comp.unix.sco.misc)
    • Re: quick noob question
      ... On Fri, 21 May 2004, Scott wrote: ... > production of any kind. ... I just assumed that a unix wouldn't change so much ... Voice: +1 979-1638 ...
      (comp.unix.solaris)
    • Gurus simple question
      ... We have files coming from Mainframe to Unix using ftp. ... The Production group are willing me to give me the access to the data ... we are 3 people omn our group who needs access to the production file and ...
      (AIX-L)
    • Re: quick noob question
      ... >> production of any kind. ... I just assumed that a unix wouldn't change so ... that, not sure if it includes, or if I'll need, headers during my ... adventures. ...
      (comp.unix.solaris)