1833187 Members
2743 Online
110051 Solutions
New Discussion

Unresolved Symbol error

 
Mike Carvalho_1
Occasional Contributor

Unresolved Symbol error

I receive the above error messages in a core dump after attempting to start MATLAB on a HP 9000/782 machine runnin 11.0.

I have the following C++ libraries installed.

/usr/lib/libstd_v2.2:
HP aC++ B3910B A.03.61 C++ Standard Library (RogueWave Version 2.02.01)

I recieve the following unresolved symbols in the core dump:

/usr/lib/dld.sl: Unresolved symbol: do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPcT
5RPc (code) from /opt/matlab_r14/bin/hpux/libmwmcr.sl
/usr/lib/dld.sl: Unresolved symbol: do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT5
RPw (code) from /opt/matlab_r14/bin/hpux/libmwmcr.sl
/usr/lib/dld.sl: Unresolved symbol: do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPcT
5RPc (code) from /opt/matlab_r14/bin/hpux/libmwmcos.sl
/usr/lib/dld.sl: Unresolved symbol: do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT5
RPw (code) from /opt/matlab_r14/bin/hpux/libmwmcos.sl
/usr/lib/dld.sl: Unresolved symbol: do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPcT
5RPc (code) from /opt/matlab_r14/bin/hpux/libxerces-c.sl.21
/usr/lib/dld.sl: Unresolved symbol: do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT5
RPw (code) from /opt/matlab_r14/bin/hpux/libxerces-c.sl.21
/usr/lib/dld.sl: Unresolved symbol: do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPcT
5RPc (code) from /opt/matlab_r14/bin/hpux/libmwbridge.sl
/usr/lib/dld.sl: Unresolved symbol: do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT5
RPw (code) from /opt/matlab_r14/bin/hpux/libmwbridge.sl
/usr/lib/dld.sl: Unresolved symbol: do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPcT
5RPc (code) from /opt/matlab_r14/bin/hpux/libmwnumerics.sl
/usr/lib/dld.sl: Unresolved symbol: do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT5
RPw (code) from /opt/matlab_r14/bin/hpux/libmwnumerics.sl
/usr/lib/dld.sl: Unresolved symbol: do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPcT
5RPc (code) from /opt/matlab_r14/bin/hpux/libmwgui.sl
/usr/lib/dld.sl: Unresolved symbol: do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT5
RPw (code) from /opt/matlab_r14/bin/hpux/libmwgui.sl
/usr/lib/dld.sl: Unresolved symbol: do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPcT
5RPc (code) from /opt/matlab_r14/bin/hpux/libmwhardcopy.sl
/usr/lib/dld.sl: Unresolved symbol: do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT5
RPw (code) from /opt/matlab_r14/bin/hpux/libmwhardcopy.sl
/usr/lib/dld.sl: Unresolved symbol: do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPcT
5RPc (code) from /opt/matlab_r14/bin/hpux/libmwuix.sl
/usr/lib/dld.sl: Unresolved symbol: do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT5
RPw (code) from /opt/matlab_r14/bin/hpux/libmwuix.sl
Abort(coredump)

Any suggestions??
3 REPLIES 3
Peter Godron
Honored Contributor

Re: Unresolved Symbol error

Mike,
are you sure everything compiled and linked ok?
You nomally get Unresolved symbol when you hit a label which can not be found, due to missing libs or runtime config options.

Regards
Stephen Keane
Honored Contributor

Re: Unresolved Symbol error

If you run ldd against the executable, what does that produce?


# ldd exe_name

Mike Carvalho_1
Occasional Contributor

Re: Unresolved Symbol error

I get the following:

hc2000: ldd /opt/matlab_r14/bin/matlab

ldd: Invalid file type: "/opt/matlab_r14/bin/matlab". Shared executable or shared libray expected.

Is this machine not patched correctly?