Fix: libXpm.so.4 Error on Maya Render Node in CentOS

Maya render node on Centos libXpm.so.4 error

Troubleshooting:

A user reported an issue on the forum:

“I am setting up a deadline render farm with CentOS nodes and have installed all necessary libraries, but I’m getting an error when I try to run from the command line:

/usr/autodesk/maya2018/bin/maya.bin: error while loading shared libraries: libXpm.so.4: cannot open shared object file: No such file or directory

I can see the library in /usr/var/lib and it’s accessible by the user.

Has anyone encountered this issue?”

Resolution:

The problem was solved by an Autodesk employee, who provided the following solution:

“Maya 2018 is a 64-bit application. The system libXpm.so.4 should be in /usr/lib64

rpm -qf /usr/lib64/libXpm.so.4

libXpm-3.5.12-1.el7.x86_64

sudo yum install /usr/lib64/libXpm.so.4″

Further Reading:

  • Uninstalling Maya on Linux
  • Arnold is missing from 3ds Max or Maya
Fix: libXpm.so.4 Error on Maya Render Node in CentOS