[vtkusers] problem loading libraries on HP

Liya Chernyakova liya.chernyakova at staarinc.com
Fri Mar 22 13:32:34 EST 2002


I was having problem with loadung java shared libraries.

To identify the problem I attemted to load just two libraries: vtkCommon and vtkCommonJava.The code looks as following:

 public static void main (String args[]) {
    System.err.println("vtkPanel::MAIN");  
    System.err.println("vtkPanel::System.loadLibrary(vtkCommon)");
    System.loadLibrary("vtkCommon");
    System.err.println("vtkPanel::System.loadLibrary(vtkCommonJava)");
    System.loadLibrary("vtkCommonJava"); 
    System.err.println("All Done");
}

the program fails to load the first library giving the following errors:

vtkPanel::System.loadLibrary(vtkCommon)
aCC runtime: Error 215 from shl_findsym(/branch/home/held/JavaProjects/libvtkCommon.sl,_shlInit)
/usr/lib/dld.sl: Unresolved symbol: [Vtable]key:overflow__Q2_3std12strstreambufFi (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: cout__3std (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_ivals__Q2_4__rw18__rw_numpunct_implXTc_ (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: __rw_std_streams__3std (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: cerr__3std (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: id__Q2_3std7codecvtXTcTcT9mbstate_t_ (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_global__Q2_3std6locale (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: [Vtable]key:__dt__Q2_3std9exceptionFv (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: typeid__XTQ2_3std9exception_ (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: id__Q2_3std5ctypeXTc_ (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: cin__3std (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_sync_with_stdio__Q2_3std8ios_base (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_classic_table__Q2_3std5ctypeXTc_ (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: __nullref__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__ (data)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_assign__Q2_3std14__rw_exceptionFPCcUl (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_digitize__Q2_4__rw22__rw_digit_writer_baseFr (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_digitize__Q2_4__rw22__rw_digit_writer_baseFd (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: __ct__Q3_3std8ios_base4InitFv_1 (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_init__Q2_3std6localeSFv (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_calc_groups__Q2_4__rw22__rw_digit_writer_baseFiPCc (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_unsafe_clear__Q2_3std8ios_baseFiT1 (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_digitize__Q2_4__rw22__rw_digit_writer_baseFUlbPCc (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_fire_event__Q2_3std8ios_baseFQ3_3std8ios_base5eventb (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: __ct__Q2_3std12ctype_bynameXTc_FPCcUl (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_digitize__Q2_4__rw22__rw_digit_writer_baseFUpb (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: __ct__Q2_3std5ctypeXTc_FPCQ3_3std10ctype_base4maskbUl (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: __dt__Q2_3std9exceptionFv (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_initfacet__Q2_3std5ctypeXTc_FRCQ2_3std6locale (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_get_named_init___Q2_4__rw23__rw_numpunct_impl_baseSFPCc (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_vformat__Q2_3std14__rw_exceptionFiPd (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_make_facet__Q2_3std6localeCFRCQ3_3std6locale2idbiPFiPCcUl_PQ2_4__rw15__rw_facet_base (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPcT5RPc (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: __dt__15_HPMutexWrapperFv (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: _C_digitize__Q2_4__rw22__rw_digit_writer_baseFPCv (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT5RPw (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
/usr/lib/dld.sl: Unresolved symbol: __dt__Q3_3std8ios_base4InitFv (code)  from /branch/home/held/JavaProjects/libvtkCommon.sl
IOT trap (core dumped)

Looks like either some libraries are missing on the link stage or some runtime optins are not set correctly. Can you help me with ideas?
Thank you,
Liya Chernyakova
Simulation Technology & Applied Research, Inc.
11520 N. Port Washington Rd.
Suite 101 B
Mequon, WI  53092
Phone: (262) 240-0291 ext.104
FAX: (262) 240-0294
e-mail: liya.chernyakova at staarinc.com
web: http://www.staarinc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020322/0b6cbf9e/attachment.htm>


More information about the vtkusers mailing list