Message 1 of 2
libffi.so.6: cannot open shared object file: No such file or directory ERROR while I'm trying to install Arnold on Maya 2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello.
I've installed Maya 2022 on Ubuntu 21.10. Almost everything works great,except Arnold. I'm sure that the error I get it depends about python. I have gathered some information and I hope that someone can help me to fix the error. The error I get is :
// Bifrost: Loading library: riv, from: Autodesk. // Bifrost: Loading library: scatter_pack, from: Autodesk. // AbcImport v1.0 using Alembic 1.7.5 (built Jan 10 2021 15:45:17) # Error: line 0: ImportError: file /usr/autodesk/maya2022/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py line 142: libffi.so.6: cannot open shared object file: No such file or directory # // Warning: file: /usr/autodesk/maya2022/scripts/others/supportRenderers.mel line 67: The renderer "arnold" used by this scene, is not currently available. The "mayaSoftware" renderer will be used instead. To prevent this message from being displayed in the future, set the environment variable: MAYA_NO_WARNING_FOR_MISSING_DEFAULT_RENDERER=1 // // Error: file: /usr/autodesk/maya2022/scripts/others/pluginWin.mel line 316: initializePlugin function failed (mtoa) // evalDeferred "shaderBallRendererMenuUpdate"; # Error: file: /usr/autodesk/maya2022/scripts/others/pluginWin.mel line 316: ImportError: file /usr/autodesk/maya2022/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py line 142: libffi.so.6: cannot open shared object file: No such file or directory # # Error: file: /usr/autodesk/maya2022/scripts/others/pluginWin.mel line 316: ImportError: file /usr/autodesk/maya2022/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py line 142: libffi.so.6: cannot open shared object file: No such file or directory # # Error: file: /usr/autodesk/maya2022/scripts/others/pluginWin.mel line 316: ImportError: file /usr/autodesk/maya2022/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py line 142: libffi.so.6: cannot open shared object file: No such file or directory # # Error: file: /usr/autodesk/maya2022/scripts/others/pluginWin.mel line 316: ImportError: file /usr/autodesk/maya2022/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py line 142: libffi.so.6: cannot open shared object file: No such file or directory # # Error: file: /usr/autodesk/maya2022/scripts/others/pluginWin.mel line 316: ImportError: file /usr/autodesk/maya2022/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py line 142: libffi.so.6: cannot open shared object file: No such file or directory # # Error: file: /usr/autodesk/maya2022/scripts/others/pluginWin.mel line 316: ImportError: file /usr/autodesk/maya2022/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py line 142: libffi.so.6: cannot open shared object file: No such file or directory # import arnold # Error: file: /usr/autodesk/maya2022/scripts/others/pluginWin.mel line 316: ImportError: file /usr/autodesk/maya2022/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py line 142: libffi.so.6: cannot open shared object file: No such file or directory # // Error: Failed to load python module 'arnold' // evalDeferred "shaderBallRendererMenuUpdate"; // Error: file: /usr/autodesk/maya2022/scripts/others/pluginWin.mel line 316: initializePlugin function failed (mtoa) //
I've tried to fix it in two ways,but both didn't work :
# curl -LO http://archive.ubuntu.com/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_amd64.deb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 17948 100 17948 0 0 41165 0 --:--:-- --:--:-- --:--:-- 41070 # sudo dpkg -i libffi6_3.2.1-8_amd64.deb # maya libGL error: failed to authenticate magic 1 libGL error: failed to load driver: iris libGL error: failed to authenticate magic 1 libGL error: failed to load driver: iris Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing. Graphic device does not support OpenGL Core Profile, fallback to OpenGL renderer. VP2 Error : Failed to initialize graphics device. Error: Failed to apply color management settings on file open: Failed to finalize the color transform.. Error: Failed to finalize the color transform. Stack trace: pthread_kill raise abort /lib/x86_64-linux-gnu/libffi.so.8(+0x2488) [0x7f0c85aa7488] /usr/autodesk/maya2022/lib/python3.7/lib-dynload/_ctypes.cpython-37m-x86_64-linux-gnu.so(+0xfad4) [0x7f0bdc93cad4] /usr/autodesk/maya2022/lib/libpython3.7m.so.1.0(+0xc7dbf) [0x7f0ca31e0dbf] /usr/autodesk/maya2022/lib/libpython3.7m.so.1.0(+0xc8808) [0x7f0ca31e1808] /usr/autodesk/maya2022/lib/python3.7/lib-dynload/_ctypes.cpython-37m-x86_64-linux-gnu.so(+0xb0a7) [0x7f0bdc9380a7] /usr/autodesk/maya2022/lib/libpython3.7m.so.1.0(+0xecc99) [0x7f0ca3205c99] _PyEval_EvalFrameDefault /usr/autodesk/maya2022/lib/libpython3.7m.so.1.0(+0x68590) [0x7f0ca3181590] _PyEval_EvalFrameDefault _PyEval_EvalCodeWithName PyEval_EvalCodeEx PyEval_EvalCode /usr/autodesk/maya2022/lib/libpython3.7m.so.1.0(+0x17dced) [0x7f0ca3296ced] _PyMethodDef_RawFastCallDict _PyCFunction_FastCallDict _PyEval_EvalFrameDefault _PyEval_EvalCodeWithName _PyFunction_FastCallKeywords _PyEval_EvalFrameDefault /usr/autodesk/maya2022/lib/libpython3.7m.so.1.0(+0x68590) [0x7f0ca3181590] _PyEval_EvalFrameDefault /usr/autodesk/maya2022/lib/libpython3.7m.so.1.0(+0x68590) [0x7f0ca3181590] _PyEval_EvalFrameDefault /usr/autodesk/maya2022/lib/libpython3.7m.so.1.0(+0x68590) [0x7f0ca3181590] _PyEval_EvalFrameDefault /usr/autodesk/maya2022/lib/libpython3.7m.so.1.0(+0x68590) [0x7f0ca3181590] _PyFunction_FastCallDict /usr/autodesk/maya2022/lib/libpython3.7m.so.1.0(+0x98bdd) [0x7f0ca31b1bdd] _PyObject_CallMethodIdObjArgs PyImport_ImportModuleLevelObject /usr/autodesk/maya2022/lib/libpython3.7m.so.1.0(+0x17c04f) [0x7f0ca329504f] PyCFunction_Call _PyEval_EvalFrameDefault _PyEval_EvalCodeWithName _PyFunction_FastCallDict _PyEval_EvalFrameDefault _PyEval_EvalCodeWithName Writing crash report in /usr/tmp/root.20220410.0002.crash /usr/autodesk/maya2022/bin/senddmp.app/senddmp.bin: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
Ubuntu 21.10 has libffi.so.8 installed :
# find /usr/lib -name "libffi.so*" /usr/lib/x86_64-linux-gnu/libffi.so.8.1.0 /usr/lib/x86_64-linux-gnu/libffi.so.8 /usr/lib/x86_64-linux-gnu/libffi.so /usr/lib/i386-linux-gnu/libffi.so.8.1.0 /usr/lib/i386-linux-gnu/libffi.so.8
I tried to create a symlink like this :
# sudo ln -s /usr/lib/x86_64-linux-gnu/libffi.so.8 /usr/lib/x86_64-linux-gnu/libffi.so.6
but I've got the same error as before. So,this is not the solution. The solution may be explained here :
Ubuntu 20.04 upgrade, Python missing libffi.so.6
where it says :
pyenv uninstall 3.7.4 pyenv install 3.7.4
Since,the version of python that I have in my system is 3.9.7 :
/usr/autodesk/maya2022/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport# python3 --version
Python 3.9.7
I tried to do :
pyenv uninstall 3.9.7
pyenv install 3.7.4
but it didn't work :
Command «pyenv» not found, maybe you mean : command «p7env» from deb libnss3-tools (2:3.68-1ubuntu1.1)
what you suggest me to do ? thanks.