The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Problem with Bessel suite
Replies: 1   Last Post: Jun 18, 1996 5:05 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Matt Silvia

Posts: 39
Registered: 12/7/04
Re: Problem with Bessel suite
Posted: Jun 18, 1996 5:05 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

In article <4pp9ml$cm5@senator-bedfellow.MIT.EDU>,
(Timothy E Vaughan) wrote:

> I get the error message
> ----------------------------------------------------------------
> Unable to load mex file:
> /paper/mnt2/matlab/bin/sol2/matlab: fatal:
> can't open file: errno=2
> ??? Invalid MEX-file
> Error in ==> /paper/mnt2/matlab/toolbox/matlab/specfun/besseli.m
> On line 40 ==> [w,ierr] = besselmx('I',nu,z);
> ----------------------------------------------------------------

Hi Tim,

The reason you are encountering this error message has to do with how
shared object libraries operate.

Using shared libraries, symbols may remain unresolved until run time. The
compiler and linker allow the symbols to be unresolved if they reside in
other shared object libraries; these other libraries are
then loaded at run time, to resolve the symbols.

The linker tags each unresolved symbol with the shared object library file
which will resolve it. Then, at run time, the operating system searches
for this shared library in a specific set of directories. The error
message you are receiving means that the operating system could not find
this file.

The directories are specified in the environment variable
LD_LIBRARY_PATH. This environment variable must contain the directory
where is located. This should be

To resolve this problem, first make sure that
/opt/SUNWspro/SC3.0.1/lib/ exists. Then make sure that
LD_LIBRARY_PATH includes /opt/SUNWspro/SC3.0.1/lib.

I hope this helps.


Matt Silvia |
The MathWorks, Inc. | email:
24 Prime Park Way | WWW :
Natick, MA 01760-1500 | FTP :
Phone: (508) 647-7000 | FAX : (508) 647-7201
| TechFacts : (508) 647-7022
"Time's fun when you're having flies." -- Kermit the Frog

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.