question

Amarildo Santini Junior avatar image
Amarildo Santini Junior asked

[SOLVED] Linux - initializePlugin function failed (mtoa)

Hey guys!

I've come back to Linux to see if Maya is a bit more stable here. It seems to work fine, but I cannot make Arnold start for some reason.

I downloaded the latest version, installed it on the default location. When I try opening it, this message appears: "initializePlugin function failed (mtoa)".

Looking more at the issue, there's this:

file -f -new;
// Warning: file: /usr/autodesk/maya/scripts/startup/resetModelEditor.mel line 46: The renderer ('vp2Renderer') is not a registered renderer. Renderer will not be set. // 
// Warning: file: /usr/autodesk/maya/scripts/startup/resetModelEditor.mel line 46: The renderer ('vp2Renderer') is not a registered renderer. Renderer will not be set. // 
// Warning: file: /usr/autodesk/maya/scripts/startup/resetModelEditor.mel line 46: The renderer ('vp2Renderer') is not a registered renderer. Renderer will not be set. // 
// Warning: file: /usr/autodesk/maya/scripts/startup/resetModelEditor.mel line 46: The renderer ('vp2Renderer') is not a registered renderer. Renderer will not be set. // 
// Error: line 1: Unable to dynamically load : libaudiofile.so
libaudiofile.so: cannot open shared object file: No such file or directory // 
// Error: line 1: Failed to apply color management settings on file open: Failed to finalize the color transform.. // 
// Viewport 2.0 floating point render target is turned off.
// Error: line 1: Failed to finalize the color transform. // 
// untitled // 
commandPort -securityWarning -name commandportDefault;
onSetCurrentLayout "Maya Classic";
# 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 # 
// Error: Unable to execute xgen.mel. // 
// Warning: file: /home/toquita/maya/2022/prefs/filePathEditorRegistryPrefs.mel line 4: filePathEditor: Attribute 'aiImage.filename' is invalid or is not designated 'usedAsFilename'. // 
// Warning: file: /home/toquita/maya/2022/prefs/filePathEditorRegistryPrefs.mel line 5: filePathEditor: Attribute 'aiPhotometricLight.aiFilename' is invalid or is not designated 'usedAsFilename'. // 
// Warning: file: /home/toquita/maya/2022/prefs/filePathEditorRegistryPrefs.mel line 6: filePathEditor: Attribute 'aiStandIn.dso' is invalid or is not designated 'usedAsFilename'. // 
// Warning: file: /home/toquita/maya/2022/prefs/filePathEditorRegistryPrefs.mel line 7: filePathEditor: Attribute 'aiVolume.filename' is invalid or is not designated 'usedAsFilename'. // 
// AbcExport v1.0 using Alembic 1.7.5 (built Jan 10 2021 15:45:17)
// 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/maya/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 // 
evalDeferred "shaderBallRendererMenuUpdate";
// Warning: line 1: filePathEditor: Attribute 'aiStandIn.dso' and label 'Standin' have been saved already. // 
// Warning: line 1: filePathEditor: Attribute 'aiVolume.filename' and label 'VDB' have been saved already. // 
// Warning: line 1: filePathEditor: Attribute 'aiImage.filename' and label 'Image' have been saved already. // 
// Warning: line 1: filePathEditor: Attribute 'aiPhotometricLight.aiFilename' and label 'IES' have been saved already. // 
# Error: file: /usr/autodesk/maya/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/maya/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/maya/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/maya/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/maya/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 import python module 'arnold' // 
evalDeferred "shaderBallRendererMenuUpdate";
// Error: file: /usr/autodesk/maya/scripts/others/pluginWin.mel line 316: initializePlugin function failed (mtoa) // 


Could anyone help?
I'm using Ubuntu 20.04.

Thanks!



--------------------------------


EDIT: Solved by:
sudo ln -s -f /usr/lib/x86_64-linux-gnu/libffi.so.7 /usr/autodesk/maya2022/lib/libffi.so.6

arnoldlinux
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

1 Answer

· Write an Answer
Stephen Blair avatar image
Stephen Blair answered

Amarildo says:

sudo ln -s -f /usr/lib/x86_64-linux-gnu/libffi.so.7 /usr/autodesk/maya2022/lib/libffi.so.6

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.