Vray for Maya, OSX env vars | ||||||
posted by on Feb. 20, 2014, 2:50 a.m. | ||||||
| ||||||
Thread Tags: discuss-at-studiosysadmins | ||||||
|
Hey folks, I'm untangling things here, where our maya and vray-for-maya distros were installed without complete seperation, which meant we couldn't version control separately properly. That doesn't matter, just background as to why I've broke things and gotta sticky them back together./ce_apps/osx10.8/vray_for_maya2014_24001 maya_root/ maya_vray/ net_license/ vray/ /ce_apps/linux/vray_for_maya2014_24001 maya_root/ maya_vray/ net_license/ vray/ My init scripts basically follow this guide, creating the relevant env vars: http://help.chaosgroup.com/vray/help/maya/150R1/install_from_dir.htm It's working under linux fine. For OSX I've tried to keep the env vars like for like, which means they vary a bit in the path (Contents/MacOS type crap) but the final dirs look very similar (swapping .so for .dylib). I get error in Maya log when I try to load the plugin: // Error: line 1: dlopen(/ce_apps/osx10.8/vray_for_maya2014_24001/maya_vray/plug-ins/vrayformaya.bundle, 1): Library not loaded: @executable_path/libvray.dylib Referenced from: /ce_apps/osx10.8/vray_for_maya2014_24001/maya_vray/plug-ins/vrayformaya.bundle Reason: image not found (vrayformaya) // One big divergence I notice is we have a bundle here: /ce_apps/osx10.8/vray_for_maya2014_24001/maya_vray/plug-ins/vrayformaya.bundle And a .so file here: /ce_apps/linux/vray_for_maya2014/maya_vray/plug-ins/vrayformaya.so I can provide a bunch more info, like the precise contents of directories and what my env vars are. But I"m guessing (hoping) that people have been through similar experiences and can give me a general pointer on how OSX and linux differ, particularly I"m guessing the use of the "bundle". Thanks in advance, Rangi. |