Welcome to the forums. Please post in English or French.

You are not logged in.

#1 Re: Salome-Meca installation » Installation on Ubuntu 20.04 » 2020-06-21 16:26:36

Hi, Zohir.

Regarding both python2 and libffi6 issues, the link below offers a solution under "Salome Meca 2019 (Success in 20.04)". Notice that one needs pyenv (addressed earlier in that same page).

# Ref.: https://github.com/dymaxionkim/UbuntuBang/blob/master/README.md

# Python 2 is needed to install
pyenv install anaconda2-2019.07
pyenv activate anaconda2-2019.07

# Install Salome-Meca per https://code-aster.org/forum2/viewtopic.php?id=24750

# Dependency for CodeAster Module
# Ref.: https://www.code-aster.org/forum2/viewtopic.php?id=24883
wget -O $HOME/Downloads/libffi6_3.2.1-9_amd64.deb http://ftp.br.debian.org/debian/pool/main/libf/libffi/libffi6_3.2.1-9_amd64.deb
sudo dpkg -i $HOME/Downloads/libffi6_3.2.1-9_amd64.deb
rm $HOME/Downloads/libffi6_3.2.1-9_amd64.deb

Cheers,
Cristiano

#2 Re: Salome-Meca installation » SALOME MECA fatal error in UBUNTU 20.04 » 2020-06-20 18:39:34

Hi, Michael.

I had the same problem. I followed Jesusbill May 11 post in url=https://community.osarch.org/discussion/67/structural-modelling-of-tensegrity-structures and that apparently solved the issue:

cd ${HOME}/salome_meca/V2019.0.3_universal/prerequisites/debianForSalome/lib
rm libstdc++.so.6.0
ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6

Cheers,
Cristiano