Hi Jim,
Thanks a lot for your response.
"libcus.a" is an archive library, I tried jcompile with -l option,
however "ldd" does not seem to list libcus.a as one of its
dependencies.
jsh ---> jcompile jb_CASmf.c -L/appl/T24/jbase50/lib -lcus -d -s
libmyshared.so
# ldd libmyshared.so
libmyshared.so needs:
/appl/T24/jbase50/lib/libjbase.so
/appl/T24/jbase50/lib/libjbaseutil.so
/usr/ccs/lib/libc.a(shr_64.o)
/usr/ccs/lib/libcurses.a(shr42_64.o)
/usr/lib/libC.a(shr_64.o)
/usr/lib/libC.a(shr2_64.o)
/usr/lib/libC.a(shr3_64.o)
/usr/lib/libC.a(ansi_64.o)
....
When I tried to run "nm" or "dump" with 64 bit option for the static
library (nm -X64 libcus.a / dump -X64 -o libcus.a), there is no
output. However with the 32 bit option all symbols are listed.
So I guess 'libcus.a' contains only 32 bit objects, and hence there is
a problem in linking this with a 64 bit dynamic library. Is this
assumption correct?
Thanks in advance for your feedback.
Best Regards
Ram
> Jim- Hide quoted text -
>
> - Show quoted text -