I recently got a new work machine with mac os x 10.7. Already having visions of last summer when I had a laptop with 10.5 and a desktop with 10.6. We’ll see how this goes…
My first issue is a simple one. I installed mosek and as per the instructions I changed the
~/.MacOSX/environment.plist file to contain:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>DYLD_LIBRARY_PATH</key> <string>/usr/local/mosek/6/tools/platform/osx64x86/bin:/usr/local/mosek/6/tools/platform/osx32x86/bin:/usr/local/cuda/lib</string> <key>GL_ENABLE_DEBUG_ATTACH</key> <string>YES</string> <key>MOSEKLM_LICENSE_FILE</key> <string>/usr/local/mosek/6/licenses/mosek.lic</string> </dict> </plist>
But when I restarted matlab and issued
I saw that it was not finding the mosek binaries correctly:
??? Invalid MEX-file '/opt/local/mosek/6/toolbox/r2009b/mosekopt.mexmaci64': dlopen(/opt/local/mosek/6/toolbox/r2009b/mosekopt.mexmaci64, 1): Library not loaded: libmosek64.6.0.dylib Referenced from: /opt/local/mosek/6/toolbox/r2009b/mosekopt.mexmaci64 Reason: image not found
The solution: Log out and back in.