<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I was having problem with loadung java shared
libraries.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>To identify the problem I attemted to load just two
libraries: vtkCommon and vtkCommonJava.The code looks as following:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> public static void main (String args[])
{<BR> System.err.println("vtkPanel::MAIN");
<BR>
System.err.println("vtkPanel::System.loadLibrary(vtkCommon)");<BR>
System.loadLibrary("vtkCommon");<BR>
System.err.println("vtkPanel::System.loadLibrary(vtkCommonJava)");<BR>
System.loadLibrary("vtkCommonJava"); <BR>
System.err.println("All Done");</FONT></DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>the program fails to load the first library giving
the following errors:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>vtkPanel::System.loadLibrary(vtkCommon)<BR>aCC
runtime: Error 215 from
shl_findsym(/branch/home/held/JavaProjects/libvtkCommon.sl,_shlInit)<BR>/usr/lib/dld.sl:
Unresolved symbol: [Vtable]key:overflow__Q2_3std12strstreambufFi (data)
from /branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl:
Unresolved symbol: cout__3std (data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_ivals__Q2_4__rw18__rw_numpunct_implXTc_ (data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: __rw_std_streams__3std (data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: cerr__3std (data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: id__Q2_3std7codecvtXTcTcT9mbstate_t_ (data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_global__Q2_3std6locale (data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: [Vtable]key:__dt__Q2_3std9exceptionFv (data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: typeid__XTQ2_3std9exception_ (data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: id__Q2_3std5ctypeXTc_ (data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: cin__3std (data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_sync_with_stdio__Q2_3std8ios_base (data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_classic_table__Q2_3std5ctypeXTc_ (data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol:
__nullref__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__
(data) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_assign__Q2_3std14__rw_exceptionFPCcUl (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_digitize__Q2_4__rw22__rw_digit_writer_baseFr (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_digitize__Q2_4__rw22__rw_digit_writer_baseFd (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: __ct__Q3_3std8ios_base4InitFv_1 (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_init__Q2_3std6localeSFv (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_calc_groups__Q2_4__rw22__rw_digit_writer_baseFiPCc (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_unsafe_clear__Q2_3std8ios_baseFiT1 (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_digitize__Q2_4__rw22__rw_digit_writer_baseFUlbPCc (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_fire_event__Q2_3std8ios_baseFQ3_3std8ios_base5eventb (code)
from /branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl:
Unresolved symbol: __ct__Q2_3std12ctype_bynameXTc_FPCcUl (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_digitize__Q2_4__rw22__rw_digit_writer_baseFUpb (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: __ct__Q2_3std5ctypeXTc_FPCQ3_3std10ctype_base4maskbUl (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: __dt__Q2_3std9exceptionFv (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_initfacet__Q2_3std5ctypeXTc_FRCQ2_3std6locale (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/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<BR>/usr/lib/dld.sl:
Unresolved symbol: _C_vformat__Q2_3std14__rw_exceptionFiPd (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/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<BR>/usr/lib/dld.sl: Unresolved
symbol:
do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPcT5RPc
(code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: __dt__15_HPMutexWrapperFv (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: _C_digitize__Q2_4__rw22__rw_digit_writer_baseFPCv (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol:
do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT5RPw
(code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>/usr/lib/dld.sl: Unresolved
symbol: __dt__Q3_3std8ios_base4InitFv (code) from
/branch/home/held/JavaProjects/libvtkCommon.sl<BR>IOT trap (core
dumped)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>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?</FONT></DIV>
<DIV><FONT face=Arial size=2>Thank you,</DIV></FONT>
<DIV><FONT face=Arial size=2>Liya Chernyakova<BR>Simulation Technology &
Applied Research, Inc.<BR>11520 N. Port Washington Rd.<BR>Suite 101 B<BR>Mequon,
WI 53092<BR>Phone: (262) 240-0291 ext.104<BR>FAX: (262)
240-0294<BR>e-mail: <A
href="mailto:liya.chernyakova@staarinc.com">liya.chernyakova@staarinc.com</A><BR>web:
<A
href="http://www.staarinc.com">http://www.staarinc.com</A></FONT></DIV></BODY></HTML>