Re: Unresolved symbol /usr/lib/dld.sl (269 Views)
Reply
Occasional Contributor
Mike Carvalho_1
Posts: 6
Registered: ‎10-26-2004
Message 1 of 8 (269 Views)
Accepted Solution

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?
Honored Contributor
G. Vrijhoeven
Posts: 1,832
Registered: ‎09-21-2001
Message 2 of 8 (269 Views)

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

Hi,

May be your SHLIB_PATH var is not set correct.

Regards,

Gideon
Honored Contributor
David Bell_1
Posts: 396
Registered: ‎05-20-1999
Message 3 of 8 (269 Views)

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
Ermin Borovac
Posts: 905
Registered: ‎09-18-2002
Message 4 of 8 (269 Views)

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
Mike Carvalho_1
Posts: 6
Registered: ‎10-26-2004
Message 5 of 8 (269 Views)

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

What should the SHLIB_PATH be set to?
Occasional Contributor
Mike Carvalho_1
Posts: 6
Registered: ‎10-26-2004
Message 6 of 8 (269 Views)

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

I've tried everything above with no resolution. Any other ideas on this?
Honored Contributor
Ermin Borovac
Posts: 905
Registered: ‎09-18-2002
Message 7 of 8 (269 Views)

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
Mike Carvalho_1
Posts: 6
Registered: ‎10-26-2004
Message 8 of 8 (269 Views)

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!!
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.