View Single Post

   
  #4 (permalink)  
Old 01-16-2008, 05:58 PM
Paul Pluzhnikov
 
Posts: n/a
Default Re: shared library path problem

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,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Reply With Quote