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

You are not logged in.

#1 2019-03-27 22:54:18

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

Salome_meca 2018.0.1 Does not Run on Debian 10

Hello I am trying to install Salome_meca version 2018.0.1 in a Debian 10 computer and it crashes with this error code:

 runSalome running on pollux
Error when trying to access active network connections.
Traceback (most recent call last):
  File "/opt/salome_meca/appli_V2018.0.1_public/bin/salome/PortManager.py", line 111, in __isNetworkConnectionActiveOnPort
    p = Popen(cmd, stdout=PIPE, stderr=STDOUT)
  File "/opt/salome_meca/V2018.0.1_public/prerequisites/Python-2710/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/opt/salome_meca/V2018.0.1_public/prerequisites/Python-2710/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Searching for a free port for naming service: 2820 - OK
Searching Naming Service + found in 0.1 seconds 
Searching /Kernel/Session in Naming Service +SALOME_Session_Server: /opt/salome_meca/V2018.0.1_public/prerequisites/debianForSalome/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/x86_64-linux-gnu/libGLU.so.1)
Traceback (most recent call last):
  File "/opt/salome_meca/appli_V2018.0.1_public/bin/salome/runSalome.py", line 633, in useSalome
    clt = startSalome(args, modules_list, modules_root_dir)
  File "/opt/salome_meca/appli_V2018.0.1_public/bin/salome/runSalome.py", line 578, in startSalome
    session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)
  File "/opt/salome_meca/V2018.0.1_public/modules/KERNEL_V8_5_0/bin/salome/orbmodule.py", line 174, in waitNSPID
    raise RuntimeError, "Process %d for %s not found" % (thePID,theName)
RuntimeError: Process 21226 for /Kernel/Session not found 

The workaround published in another forum thread seems to work:

 LD_PRELOAD='/usr/$LIB/libstdc++.so.6' ./salome 

Any ideas how to fix this in a more permanent elegant way?

Last edited by Humberto (2019-03-27 22:57:32)

Offline

#2 2019-09-29 22:13:03

eng.vinicius.a.lima
Member
Registered: 2019-09-29
Posts: 1

Re: Salome_meca 2018.0.1 Does not Run on Debian 10

Apparently the shipped libstdc++.so.6 is missing the CXXABI_1.3.9 symbols.
What I did was to change the link shipped with Salome Meca to point to Debian 10 built-in libstdc++.so.6

cd $HOME/salome_meca/V2019_univ/prerequisites/debianForSalome/lib
ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6

Also you may want to install some prerequisites not included in an Debian 10 with GNOME fresh install:

sudo apt install net-tools libqt5test5 libnlopt-dev

Offline