09-16-2004 03:06 PM
When I use "java -V2" to invoke my program, it fails with undefined symbols in libstream.sl
/opt/java1.4/bin/java -V2 TestCSJC
aCC runtime: Error 215 from shl_findsym(/usr/lib/libstream.2,_shlInit)
/usr/lib/dld.sl: Unresolved symbol: typeid__XT9exception_ (data) from /usr/lib/libstream.2
/usr/lib/dld.sl: Unresolved symbol: __dt__9exceptionFv (code) from /usr/lib/libstream.2
I have the following runtime library patch installed
PHSS_28880 HP aC++ -AA runtime libraries (aCC A.03.50)
and the following linker patch
PHSS_30966 ld(1) and linker tools cumulative patch
I want to execute it using the -V2 option since invoking it otherwise causes a crash with signal 11. I suspect this happens because the JVM uses libCsup.sl while my shared libraries are compiled with libCsup_v2.
Any help would be greatly appreciated.
09-19-2004 05:27 PM
your libraries may in turn have dependencies which are non "-AA" ?
09-22-2004 07:39 AM
Yes. I have used aCC for linking.
I ran ldd on the shared libs and confirmed that they only use libCsup_v2 and libstd_v2.
However, these shared libraries in turn use other third party libraries that have not been built with -AA.
Is there no way out other than getting all vendors to provide -AA enabled libs?
09-22-2004 03:55 PM
> other third party libraries that have not
> been built with -AA.
i dont think you mean libCsup_v2 and libstd_v2 themselves.
there seems to be no other way out. i will confirm this later today after checking with the compiler folks.