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

You are not logged in.

#1 2019-10-11 18:29:13

kathi
Member
Registered: 2009-09-24
Posts: 191

SalomeMeca2019 on Ubuntu 18.04

hello
SalomeMeca 2019 does not start on my  Ubuntu 18.04. I did not find (or do not understand) the necessary help in this thread:
https://www    .code-aster.org/forum2/viewtopic.php?id=24476

So I post here the output in my shell. Can somebody please explain me what to do (I m not really expert with Linux)

Thank you

kathi

kathi@nero:/opt$ ./SaloMec2019/appli_V2019_univ/salome 
runSalome running on nero
Searching for a free port for naming service: 2815 - OK
Searching Naming Service  + found in 0.1 seconds 
Searching /Kernel/Session in Naming Service  +SALOME_Session_Server: /opt/SaloMec2019/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5)
SALOME_Session_Server: /opt/SaloMec2019/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5)
SALOME_Session_Server: /opt/SaloMec2019/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5)
SALOME_Session_Server: /opt/SaloMec2019/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libQt5Test.so.5)
SALOME_Session_Server: /opt/SaloMec2019/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libQt5Network.so.5)
SALOME_Session_Server: /opt/SaloMec2019/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libQt5Help.so.5)
SALOME_Session_Server: /opt/SaloMec2019/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libQt5Sql.so.5)
SALOME_Session_Server: /opt/SaloMec2019/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5)
SALOME_Session_Server: /opt/SaloMec2019/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5)
SALOME_Session_Server: /opt/SaloMec2019/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libQt5Core.so.5)
SALOME_Session_Server: /opt/SaloMec2019/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libQt5Svg.so.5)
SALOME_Session_Server: /opt/SaloMec2019/V2019_univ/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libQt5Concurrent.so.5)
Traceback (most recent call last):
  File "/opt/SaloMec2019/V2019_univ/modules/KERNEL_V9_3_0/bin/salome/orbmodule.py", line 172, in waitNSPID
    os.kill(thePID,0)
ProcessLookupError: [Errno 3] No such process

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/SaloMec2019/appli_V2019_univ/bin/salome/runSalome.py", line 633, in useSalome
    clt = startSalome(args, modules_list, modules_root_dir)
  File "/opt/SaloMec2019/appli_V2019_univ/bin/salome/runSalome.py", line 578, in startSalome
    session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)
  File "/opt/SaloMec2019/V2019_univ/modules/KERNEL_V9_3_0/bin/salome/orbmodule.py", line 174, in waitNSPID
    raise RuntimeError("Process %d for %s not found" % (thePID,theName))
RuntimeError: Process 77916 for /Kernel/Session not found


--- Error during Salome launch ---
kathi@nero:/opt$ 

Offline

#2 2019-10-12 15:02:22

IV_CoAs
Member
From: Helsinki
Registered: 2013-07-12
Posts: 60

Re: SalomeMeca2019 on Ubuntu 18.04

Hello
”www.code-aster.org/V2/spip.php?article1076”

Follow this French speaking article. It has right instructions, maybe some parts should not be capital character, but apt-get install command will tell it.

Using these instructions my ubuntu 18.04 platform is working.

Br Ilkka

Offline

#3 2019-10-14 16:12:48

kathi
Member
Registered: 2009-09-24
Posts: 191

Re: SalomeMeca2019 on Ubuntu 18.04

Dear IV_CoAs

thank you for this hint, I did so and it works now!!!

But there remains a dissatisfactation for me, I would be very happy to get help to understand that: 

Due to ”www.code-aster.org/V2/spip.php?article1076” we have to install on Ubuntu 18.04 those packages:

Installer les paquets suivants :
libQt5OpenGL
libQt5Concurrent
libNLopt0
libQT5MultimediaWidgets (pour shaper)

But no one of the usual commands worked:

sudo apt-get install libQt5OpenGL
sudo apt-get install libQt5Concurrent
sudo apt-get install libNLopt0
sudo apt-get install libQT5MultimediaWidgets

For each of the package names I searched with google how to do, and I found commands like this:

sudo apt-get install libqt5opengl5-dev
(for libQt5OpenGL)

and so on. At the end it is like a "miracle" for me that it really works. I do not understand the logic and the systematicity of that stuff. And why do the maintainers of SalomeMeca not write "sudo apt-get install libqt5opengl5-dev" instead of "sudo apt-get install libQt5OpenGL"? I would really like to understand the systematic and logic way

Thank you in advance for helping me out of this question

kathi

Offline

#4 2019-10-14 21:10:30

AsterO'dactyle
Administrator
Registered: 2007-11-29
Posts: 456

Re: SalomeMeca2019 on Ubuntu 18.04

Hello,

Easy answer.
When I tried to install salome_meca on my Ubuntu, these commands has worked !

sudo apt-get install libQt5OpenGL
sudo apt-get install libQt5Concurrent
sudo apt-get install libNLopt0
sudo apt-get install libQT5MultimediaWidgets


Code_Asterの開発者

Offline

#5 2019-10-18 13:57:15

sb1966
Member
From: INDIA
Registered: 2015-03-16
Posts: 260

Re: SalomeMeca2019 on Ubuntu 18.04

Hi Kathi

I do not understand the logic and the systematicity of that stuff.

The following are the reasons:
1. In Linux world, most of the commands are case-sensitive
2. The apt-get install command looks in the ubuntu repository and it can install only if the name of the program (library etc.) is exactly same as that in the repository.

However, there is a way out to find the correct name to be supplied for installing a package/library etc.:

# Use the following in a terminal

 sudo apt search <search term> 

where search term may contain mix of upper/lower case.

For example

 sudo apt search libQt5Multimedia 

would produce something like the following

 
[sudo] password for sukumar: 
Sorting... Done
Full Text Search... Done
libqt5multimedia5/bionic,now 5.9.5-0ubuntu1 amd64 [installed,automatic]
  Qt 5 Multimedia module

libqt5multimedia5-plugins/bionic 5.9.5-0ubuntu1 amd64
  Qt 5 Multimedia module plugins

libqt5multimediaquick-p5/bionic 5.9.5-0ubuntu1 amd64
  Qt 5 Multimedia Quick module

libqt5multimediawidgets5/bionic,now 5.9.5-0ubuntu1 amd64 [installed]
  Qt 5 Multimedia Widgets module

sukumar@sukumar-HP-200-G3-AiO:~$ 

Hope this helps.

Regards.
Sukumar

Offline

#6 2019-10-19 21:40:47

Humberto
Member
From: Ensenada, Mexico
Registered: 2012-10-15
Posts: 104
Website

Re: SalomeMeca2019 on Ubuntu 18.04

kathi wrote:

But no one of the usual commands worked:

sudo apt-get install libQt5OpenGL
sudo apt-get install libQt5Concurrent
sudo apt-get install libNLopt0
sudo apt-get install libQT5MultimediaWidgets

Installing those libraries in Debian Buster **did not work**.
most have a 5 at the ending.
like libQt5Concurrent --- libqt5concurrent5

and so on.

Offline

#7 2019-10-19 23:12:58

kathi
Member
Registered: 2009-09-24
Posts: 191

Re: SalomeMeca2019 on Ubuntu 18.04

thank you, SalomeMeca is now running and I have learnt a lot.

Specially  I got very clear learning this command "sudo apt search <search term> "

kathi

Offline

#8 2019-11-08 10:58:08

romduval
Member
Registered: 2017-11-17
Posts: 8

Re: SalomeMeca2019 on Ubuntu 18.04

Bonjour,
In my case, i was using CAELINUX 2018 (sur Xubuntu 16.04).
I had some problems  (qt5 et other) trying to install new version (the last version) of SalomeMeca.
Then I upgraded:
do-release-upgrade
18.04 has been upgraded.
I have deleted the previous folder /opt/SalomeMeca
Then followed website instructions:
>Installation
>Uncompress the file and launch the install:
>>tar xvf Salome-Meca-2017.0.2-LGPL-2.tgz && ./Salome-Meca-2017.0.2-LGPL-2.run
I installed SalomeMeca in tge suggested folder.
Then (note that this instruction is available in French version of the website)
>Instructions pour installer les prérequis nécessaires aux distributions anciennes
>Ubuntu 18.04 et plus
>La bibliothèque ’libstdc++.*’ installée par salome_meca entre en conflit avec celle du système.
>>cd $HOME/salome_meca/V2019_univ/prerequisites/debianForSalome/lib
>>rm libstdc++.so.6.0.20
>>ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6.0.20
>Installer les paquets suivants : (ils étaient déjà installés sur mon poste)
>libQt5OpenGL
>libQt5Concurrent
>libNLopt0
>libQT5MultimediaWidgets (pour shaper)

Looks like evreything is working well on Xubuntu 18.04.

Hope this can help,
Romain DUVAL
CETIM

Last edited by romduval (2019-11-08 11:05:16)

Offline