View Single Post

   
  #5 (permalink)  
Old 01-16-2008, 05:58 PM
Prem K Mehrotra
 
Posts: n/a
Default Re: shared library path problem

Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote in message news:<m365bnbyfs.fsf@salmon.parasoft.com>...
> premmehrotra@hotmail.com (Prem K Mehrotra) writes:
>
> > Any other ideas?

>
> I can't quite deduce from your messages whether 'svrmgrl' is
> something you built, or something Oracle ships.
>
> If (as I suspect) it is the former, you probably linked it
> incorrectly.
>
> Don't do this:
>
> cc main.o ... \
> /local8/app/oracle/product/8.1.6/JRE/lib/PA_RISC/native_threads/libjava.sl
>
> If you do this, SHLIB_PATH and 'chatr +s enable' will have no effect:
> the loader will *always* look for libjava in /local8/app/...




>
> Do this instead:
>
> cc main.o ... \
> -L/local8/app/oracle/product/8.1.6/JRE/lib/PA_RISC/native_threads \
> -ljava
>
> Cheers,


Paul:
Thanks.

svrmgrl is an executable which was supllied by oracle, Looking at the
log of make which was used to generate svrmgrl, -L option was used.

There is something subtle, I don't know what. Is there something
changed
in HP UX 11i regarding SHLIB_PATH rules.

Prem
Reply With Quote