Thread Subject: mexing with gfortran

Subject: mexing with gfortran

From: Ben Abbott

Date: 30 Dec, 2007 02:34:29

Message: 1 of 1

I'm attempting to use gfortran to produce mex files for Matlab 2007b running on
Leopard (OS X 10.5.1) on Intel.

The mex file builds fine, but when run

dyld: lazy symbol binding failed: Symbol not found: _mxgetnumberofelements_

Checking libmex, indicates a case and underscore problem

nm /Applications/MATLAB_R2007b/bin/maci/libmex.dylib
[...]
         U _mxGetNumberOfElements
[...]

Anyone have some advice as to how this may be resolved.

I'd also appreciate a reply from someone at TMW; I was successful with gfortran
for 2006a/b ... has something changed regarding the case and trailing
underscore?

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
gfortran Ben Abbott 29 Dec, 2007 21:34:57
mexmaci Ben Abbott 29 Dec, 2007 21:34:57
mex Ben Abbott 29 Dec, 2007 21:34:57
mac os x Ben Abbott 29 Dec, 2007 21:34:57
rssFeed for this Thread

Contact us at files@mathworks.com