Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[SOLVED] Linux - initializePlugin function failed (mtoa)

1 REPLY 1
Reply
Message 1 of 2
Toquitaa
648 Views, 1 Reply

[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

Tags (2)
Labels (2)
1 REPLY 1
Message 2 of 2
Stephen.Blair
in reply to: Toquitaa

Amarildo says:

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



// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report