How to handle version mismatch in shared libraries
조회 수: 1 (최근 30일)
I am trying to build a mex file that links with a shared external library that itself links to a shared netcdf library. However, when running the mex it complains that the netcdf version required by my shared lib is newer than the netcdf library shipped with Matlab. The same is true for other libs required by netcdf such as libcurl etc. It seems the out-of-date libraries shipped with Matlab prevents me from building a working mex. Is there a way to tell the mex to use the most recent libraries? If not, what is the recommended solution? Removing the old Matlab-supplied shared libs for common libraries found on most Unix/OSX systems?
Specifically, this is with Matlab 2012b under OS X 10.8.3