BladeSystem Forums have moved here
To make BladeSystem information easier to find, we have moved the BladeSystem forums here, to Servers and Operating Systems.
Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

Unresolved symbol /usr/lib/dld.sl

SOLVED
Go to Solution
Highlighted
Occasional Contributor

Unresolved symbol /usr/lib/dld.sl

I try to run MATLAB R14 on a HP-UX 11i machine, and I get the follwowing types of errors.

./matlab
/usr/lib/dld.sl: Unresolved symbol:
do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPc
T5RPc (code) from /data/software/localsrc/matlab14/bin/hpux/libmwmcr.sl
/usr/lib/dld.sl: Unresolved symbol:
do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT
5RPw (code) from /data/software/localsrc/matlab14/bin/hpux/libmwmcr.sl
/usr/lib/dld.sl: Unresolved symbol:
do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPc
T5RPc (code) from
/data/software/localsrc/matlab14/bin/hpux/libmwmcos.sl
/usr/lib/dld.sl: Unresolved symbol:
do_in__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCcT2RPCcPwT
5RPw (code) from /data/software/localsrc/matlab14/bin/hpux/libmwmcos.sl
/usr/lib/dld.sl: Unresolved symbol:
do_out__Q2_3std14codecvt_bynameXTwTcT9mbstate_t_CFR9mbstate_tPCwT2RPCwPc
T5RPc (code) from
/data/software/localsrc/matlab14/bin/hpux/libxerces-c.sl.21
/usr/lib/dld.sl: Unresolved symbol:

Are there specific patches required to run this?
7 REPLIES
Honored Contributor

Re: Unresolved symbol /usr/lib/dld.sl

Hi,

May be your SHLIB_PATH var is not set correct.

Regards,

Gideon
Honored Contributor

Re: Unresolved symbol /usr/lib/dld.sl

Mike,

Look at the following link:

http://www.mathworks.com/support/tech-notes/1600/1601.html

Note: ** The bundled C Compiler shipped with HP-UX is not supported because it is not ANSI C compliant. Use the ANSI C Compiler for HP-UX (refer to the Hewlett-Packard Web site for more information).

Please be sure you have another compiler.

Hope this helps,

Dave
Honored Contributor

Re: Unresolved symbol /usr/lib/dld.sl

These symbols are found in /usr/lib/libstd_v2.sl which is C++ runtime library. Matlab on HP-UX is built with aCC and therefore some of the Matlab libraries are linked with C++ runtime libraries.

You probably have to install newer 'HP aC++ -AA runtime libraries' patch.
Occasional Contributor

Re: Unresolved symbol /usr/lib/dld.sl

What should the SHLIB_PATH be set to?
Occasional Contributor

Re: Unresolved symbol /usr/lib/dld.sl

I've tried everything above with no resolution. Any other ideas on this?
Honored Contributor

Re: Unresolved symbol /usr/lib/dld.sl

Can you please post the output of the following?

$ what /usr/lib/libstd_v2.2
$ ll /usr/lib/libstd_v2.2
$ nm /usr/lib/libstd_v2.2 | grep do_out__Q2_3std14
$ ldd -v /data/software/localsrc/matlab14/bin/hpux/libmwmcr.sl
Occasional Contributor

Re: Unresolved symbol /usr/lib/dld.sl

It looks like the patch PHS_22898 was in fact not installed on the machine. Installing this patch resolved the errors. Thanks for your help!!