I try to run a program originally tested on Matlab 6.5 in the new version (R2009a). The program uses some mex files, and when I try to run it, I get the following error:
??? Invalid MEX file '/normalizedCut/common_files/sparsifyc.mexglx': normalizedCut / common_files / sparsifyc.mexglx: symbol mxGetIr, version libmx.INTERNAL is not defined in the libmx.so file with a link to the link.
(the code I'm trying to set up is Normalized cut by Shi and Malic, and can be found here: http://www.cis.upenn.edu/~jshi/software/files/NcutClustering_7.zip )
If I try to run the code on the same system, but Matlab 2007a is working fine.
Is there any backward compatibility issue for 2009a? Are there any flags anywhere on the system that I can change to help it work?
When I googled, I saw some references to the env variable LD_LIBRARY_PATH, but what exactly should be added to it, I could not find out.
Thank you Yair
matlab mex
Yair
source share