test program(dlopen) fails on hp but run well on solaris

Hi,

I have a c test program which test dlopen call. This program run well on solaris but fails on hp-ux.

The program load jvm library successfully on solaris. On hp-ux it displays error

I compile this program as
$cc -o testjvm testjvm.c

What am I missing? I have tried with different java version. but of no help.
any pointers?

Thanks in advance,
-Ashish

What does
chatr testjvm
display?
Can you find all the libs referred to by your binary
at the given paths?
Are they readable by your uid?

Hi buffoonix,

thanks for ur reply.
chatr to binary displays o/p as follows.

and the libs are readble by my uid.

any pointers??

-Ashish