Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Unresolved symbol /usr/lib/dld.sl

SOLVED
Go to solution
Mike Carvalho_1
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
G. Vrijhoeven
Honored Contributor

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

Hi,

May be your SHLIB_PATH var is not set correct.

Regards,

Gideon
David Bell_1
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
Ermin Borovac
Honored Contributor
Solution

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.
Mike Carvalho_1
Occasional Contributor

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

What should the SHLIB_PATH be set to?
Mike Carvalho_1
Occasional Contributor

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

I've tried everything above with no resolution. Any other ideas on this?
Ermin Borovac
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
Highlighted
Mike Carvalho_1
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!!