Personal tools
You are here: Home Forum Install & build Problem on lauching AsterStudy

Problem on lauching AsterStudy

Up to Install & build


This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.

Problem on lauching AsterStudy

Posted by monnet.jacques at April 08. 2021

Dear alls,

When I lauch AsterStudy, I get an error, and the terminal indicates:

File "/home/jacques/installation_directory/salome/V2020.0.1_universal_universal/prerequisites/Python-365/lib/python3.6/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libffi.so.6: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

It seems that libffi.so.6 is not found, but I have found it in another folder :

/snap/core18/1988/usr/lib/x86_64-linux-gnu/libffi.so.6

I have copy this file in tha main folder of salome

/home/jacques/installation_directory/salome/V2020.0.1_universal_universal/modules/ASTERSTUDY_20200/lib/python3.6/

but the message is always the same; do you have an idea?

Re: Problem on lauching AsterStudy

Posted by linctus at May 04. 2021

Perhaps '/home/jacques/installation_directory/salome/V2020.0.1_universal_universal/modules/ASTERSTUDY_20200/lib/python3.6/' is not in $LD_LIBRARY_PATH. You need to put libffi.so.6 somewhere which is included in $LD_LIBRARY_PATH

Re: Problem on lauching AsterStudy

Posted by monnet.jacques at June 08. 2021

Thank you yongjin for your answer; I have copy libfii.so.6 into

/home/jacques/installation_directory/salome/V2020.0.1_universal_universal/prerequisites/Python-365/lib/python3.6/ctypes/

but the result is the same; I have the same error :

File "/home/jacques/installation/V2020.0.1_universal_universal/prerequisites/Python-365/lib/python3.6/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libffi.so.6: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

Perhaps it is possible to add a new path for the Library but I do not know how to proceed....

Best regards

 


This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.

Powered by Ploneboard
Document Actions