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

You are not logged in.

#1 Re: Salome-Meca installation » How to launch or uninstall Salome Meca 2018 in ubuntu 16.04 » 2019-02-19 00:13:21

Hi all,

I'm experiencing a similar install issue. Tried with Ubuntu 18.10, thought that may be the problem so I installed 18.04. Performed updates and ensured all prerequisites were properly installed.

runSalome running on jdblinux-OptiPlex-3020
Searching for a free port for naming service: 2817 - OK
Searching Naming Service + found in 0.1 seconds 
Searching /Kernel/Session in Naming Service ++/home/jdblinux/.themes/Macterial/gtk-2.0/gtkrc:24: Unable to find include file: "xfce-notify.rc"
+libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Warning: this type (SALOME_MED/MEDCouplingFieldDoubleCorbaInterface,objref) already exists, it will be ignored.
+Traceback (most recent call last):
  File "/opt/Salome-Meca-2018/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-2018/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-2018/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 2252 for /Kernel/Session not found


--- Error during Salome launch ---

I'm not experienced with linux but it seems to me with the reading Ive done that the drivers are out of date [salome is looking for a different name I think]. I guess this is the reason this line works

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

Question for Maccer would be, why does this work? And do you think there's a way we can maybe create a more permanent solution. This is only capable of being launched through terminal and has to be done every time.

Maybe a symbolic link may solve the problem. So when Salome looks for the "library/driver" it gets directed to library we had to preload.

Like i said im not experienced so that suggestion might be complete garbage. I'm going to continue looking into this but any support will be appreciated.