Ezequiel Mastrasso

View Original

mixed network and standalone maya versions

If you are currently running a lmgrd maya license server , and want to install a newer version of maya (ie: 2017) with standalone licensing, you could be up for a headache.
Want to keep your current adlmapps, adlmflexnetclient, and adlmflexnetserver versions? Your best bet is to manually install maya only, no other packages, and register maya manually, and this is how:

  • Don’t use ./setup!

  • from a command line either:

    • Convert Maya2017_64-2017.0-2018.x86_64.rpm to tar archives using rpm2targz and uncompress

    • Uncompress directly using ‘rpm2cpio package.rpm | cpio -idmB’ command

  • Copy extracted directories to appropriate places with same path structure:

/opt/Autodesk -> /opt/
/usr/autodesk -> /usr/
/var/opt/Autodesk -> /var/opt/

  • Create symlinks from your system’s libcrypto.so and libssl.so to /usr/autodesk/maya2017/lib/*.so.10
    First ‘locate libcrypto.so’ and ‘locate libsssl.so’
    They will most likely be inside /usr/lib64

ln -s /path/to/your/system/libcrypto.so /usr/autodesk/maya2017/lib/libcrypto.so.10
ln -s /path/to/your/system/libssl.so /usr/autodesk/maya2017/lib/libssl.so.10

  • Register Maya serial number (replace the Xs with your serial number, and if necessary also the product code and version)

export INSTALLDIR="/usr/autodesk/maya2017"
export LD_LIBRARY_PATH=/opt/Autodesk/Adlm/R12/lib64/:$LD_LIBRARY_PATH
echo -e 'MAYA_LICENSE=unlimited\nMAYA_LICENSE_METHOD=standalone' > $INSTALLDIR/bin/License.env
$INSTALLDIR/bin/adlmreg -i S 657I1 657I1 2017.0.0.F XXX-XXXXXXXX /var/opt/Autodesk/Adlm/Maya2017/MayaConfig.pit

Additional steps

  • setup your gnome shortcut

cd /usr/share/applications
sudo cp Autodesk-Maya2016-x64.desktop Autodesk-Maya2017-x64.desktop

Now Edit this new 2017 file and point the paths to 2017 instead of 2016. In gnome press “Alt+F2”, type r and enter to restart the gnome interface processes to see the new Icon in the menus.

  • Update ‘maya’ link in /usr/autodesk
    This is probably still pointing to the last version of maya you had.

ln -s /usr/autodesk/maya2017 /usr/autodesk/maya