Community
2023 launcher (bin/2023) is not checking LD_LIBRARY_PATH variable correctly:
if [[ -z `whereis libssl.so.1.1|grep /` ]] ; then
if [ ! ${LD_LIBRARY_PATH+x} ]; then
LD_LIBRARY_PATH="$MAYA_LOCATION/lib/openssl:$LD_LIBRARY_PATH"
else
LD_LIBRARY_PATH="$MAYA_LOCATION/lib/openssl"
fi
fi
Guessing it's missing -z for LD_LIBRARY_PATH check?
Should be:
if [[ -z `whereis libssl.so.1.1|grep /` ]] ; then
if [ ! -z ${LD_LIBRARY_PATH+x} ]; then
LD_LIBRARY_PATH="$MAYA_LOCATION/lib/openssl:$LD_LIBRARY_PATH"
else
LD_LIBRARY_PATH="$MAYA_LOCATION/lib/openssl"
fi
fi
Good catch! This was causing so much trouble for us. We were not able to import some of the Python libraries as *.so files were misign resulting our tools and plugins breaking. Basically it was removing everything from the $LD_LIBRARY_PATH variable and setting some Maya internal paths no matter what. Adding the -z flag in the launcher file solved the issue for us.
Can't find what you're looking for? Ask the community or share your knowledge.