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

You are not logged in.

#1 2018-07-14 12:53:06

BrianP
Member
From: Dennark
Registered: 2018-07-14
Posts: 3

How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hi

I having trouble to launch SalomeMeca 2018 in Ubuntu 16.04, the program do not open.

How can i launch it or remove it ? (I have installed Salome-Meca-2017 on other machine, and it works)

Best regards
BrianP

Last edited by BrianP (2018-07-14 15:40:34)

Offline

#2 2018-07-17 19:56:41

Paul CARRICO
Member
From: France
Registered: 2007-12-26
Posts: 294

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hi

I had the same issue with an ubuntu 16.04 LTS on my PC; finally I found a way to start Salomé-méca:
- I went to the "$HOME/salome_meca/V2018/prerequisites/debianForSalome/lib" directory
- I've commented the 3 files "libstdc++" by adding an underscore at the name end
- now it opens

hope it works for another users

Paul

launching by hand Salomé, the message was:
runSalome running on Dell-Maison
Searching for a free port for naming service: 2812 - OK
Searching Naming Service + found in 0.1 seconds
Searching /Kernel/Session in Naming Service ++++++libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
+libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Warning: this type (Study,objref) already exists, it will be ignored.
Warning: this type (SALOME_MED/MEDCouplingFieldDoubleCorbaInterface,objref) already exists, it will be ignored.
+ found in 4.0 seconds
Start SALOME, elapsed time :   4.2 seconds

Last edited by Paul CARRICO (2018-07-17 20:57:53)

Offline

#3 2018-07-23 16:50:07

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Thank Paul for confirming that, we'll look into it for the subsequent packaging.

TdS

Offline

#4 2018-07-23 21:23:56

konyaro
Member
From: Genève
Registered: 2016-04-02
Posts: 143

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hello Paul,
I had exactly the same problem and your trick solved it!

Thank you


失敗は成功のもと (L'échec est la base de la réussite)

Offline

#5 2018-09-15 02:33:41

benico
Member
Registered: 2016-09-20
Posts: 6

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Worked for me also - thanks !

Offline

#6 2018-10-11 23:09:04

k_zurawski
Member
From: Gdansk (Poland)
Registered: 2010-03-13
Posts: 166

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hey Paul, how did you come to this solution?


regards,
Krzysztof

Offline

#7 2018-12-02 13:58:43

maccer
Member
Registered: 2018-12-02
Posts: 1

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

This is a typical issue with outdated libraries. Other apps like Matlab have the same problem. The solution is to use the libraries present on the system instead of loading new ones. You can make this work on any ubuntu distro executing the command 

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

This command preloads that library from the system and executes Salome. However I still get some warnings:

****************************************************************
     Warning: module HYBRIDPLUGIN is improperly configured!
     Module HYBRIDPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module NETGENPLUGIN is improperly configured!
     Module NETGENPLUGIN will not be available in GUI mode!
****************************************************************
****************************************************************
     Warning: module GMSHPLUGIN is improperly configured!
     Module GMSHPLUGIN will not be available in GUI mode!
****************************************************************

Matlab solves this kind of problems with libraries installing a package called matlab-support which is available on the Ubuntu Universe repository. Maybe the devs of Salome should consider a similar solution.

There are other ways to avoid packaging errors on linux distros. Like using appimages, snaps or flaptak files. Those 3 options are distro-agnostic and probably require less support on the long run. It would be great if you could create a package with any of them smile

Offline

#8 2018-12-03 10:22:00

BrianP
Member
From: Dennark
Registered: 2018-07-14
Posts: 3

Re: How to launch or uninstall Salome Meca 2018 in ubuntu 16.04

Hi all, thanks for answers. My problem was totally different then i could imagine, it was my SolidStateDrive that not work proporly, it have cost me to much time, but new SSD then it works.

BrianP wrote:

Hi

I having trouble to launch SalomeMeca 2018 in Ubuntu 16.04, the program do not open.

How can i launch it or remove it ? (I have installed Salome-Meca-2017 on other machine, and it works)

Best regards
BrianP

Offline

Board footer