libEntityGUI.so not working but all dependencies found

Hi there,

I’m on Ubuntu 22.04 and SALOME has been working perfectly. However, I recently found explode does not work and errors with “GUI library corresponding to the user action can not be found or loaded”. The library is libEntityGUID.so and an ldd tells me there are no “not found” lines.

I’m not sure how to proceed from here, any help would be greatly appreciated.

Cheers,

Chris

1 Like

Hi,
which version did you run ? The universal version or one that you built by your own ? If so, maybe you can share your experience here ?
Regarding the issue about libEntityGUI.so, can you post the output of ldd:

# enter SALOME context to setup runtime environment
./salome context
ldd INSTALL/GEOM/lib/salome/libEntityGUI.so
# quit
exit

Hi there, this was the universal, as the Ubuntu specific one had an error with omnipy I think. I am a new user and cannot upload. Further, the output is too big for a reply. Adding “| grep found” gives nothing back, showing no shared objects are missing.

I have uploaded the output here: https://www.chrisdoesmaths.com/ldd_out.txt

Further, this is happening on another desktop I have again with Ubuntu 22.04. It seems to not find

libselinux.so.1

which is locally at /usr/lib/x86_64-linux-gnu/libselinux.so.1. Creating a symbolic link to this removes the error in the ldd output but does not fix the problem.

Hi,
apologize for the late reply. Using the universal 9.8.0 binary, I managed to run SALOME on an Ubuntu 22 and did the basic following test in GEOM:

  • create a box
  • explode operation

Enclosed the list of what is installed on the UB22 I used to check. You can use this list and check if some packages are missing on your side.
UB22.txt (219.6 KB)

Thanks for the reply. I am confused as to how you are able to run it. I had no problems, but an Ubuntu update must have broken it. There are so many packages it would be crazy to try and install everything you have that I don’t. I have outputted my installed packages and used comm to find the ones you have that I don’t, which are many. The obviously relevant one in this case is the libselinux1 and libselinux1-dev which we both have the same version.

I have fixed the problem with libselinux.so.1 and the output of ldd shows libEntityGUI.so now finds it in the appropriate system directory. Now, the output of ldd does not have any shared objects it cannot find. Yet, explode still does not work.

Could you perhaps share the output of the ldd on libEntityGUI.so? Is there anything else that could be at fault?

Thanks

Enclosed the file which lists output of ldd and output of apt-file find for these shared objects.
libEntityGUI.txt (30.5 KB)

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04 LTS
Release:	22.04
Codename:	jammy

Thanks for the additional info. I have confirmed I have all the relevant packages as per your output, and on a fresh copy of SALOME-9.8.0 I mimic your ldd output except for the libselinux.so.1, which has the line:

BINARIES-CO7/GEOM/lib/salome/libEntityGUI.so: /home/chris/Desktop/SALOME-9.8.0/BINARIES-CO7/system_dep/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0)

I can remove this error by copying the file /lib/x86_64-linux-gnu/libselinux.so.1 to the system_dep directory, replacing the original one that ships with SALOME. However, explode still does not work after this.

The relevant object that needs libselinux.so.1 is libgio-2.0.so.0, which is not shipped with SALOME, but is installed on my computer. This is the same package as you have.

Thus, I really do not know how it is working on your end but not mine…

Do you have any other thoughts?

Thanks,

Chris

We are going soon to support UB22 with SAT. In the meanwhile, a last try would be that we do it the other way around: upload the list of installed packages and we can check if something can be spotted.

Dear all,

I encountered the same [from 2D sketch to surface from face / explode…] error.
the info. of items included the Salome 9.9.0 universal on Ubuntu 22.04.

all of libraries were normal from [ldd …]

should I re-install the Ubuntu20 as a reasonable way ???

Thanks. Plz help me.

Can you try to just remove the file BINARIES-CO7/system_dep/libselinux.so.1 ?

Hello everyone! I have the same porblem with universal packages for SALOME 9.10.0 and Ubuntu 22.04.1 LTS.
Unfortunately nothing helps me. The check for libEntityGUI shows me that all needed libraries were installed.
Anybody knows what else we can do to fix this very strange problem?

I am using universal Salome 9.9.0 on Arch and got the same issue.

can you either try the Ubuntu 22.04 version of SALOME platform or simply share the output of apt list --installed such that we can check what is missing?
Regards.

I’m not familiar wirh Arch. Could you share the OS version as well as the list of installed packages on your distro?
With these informations, we could check if we reproduce your issue.
Regards.

Yes, of course

apt_list_installed.txt (155.6 KB)

Hello, sorry for the delay. I am using EndeavourOS (based on Arch) is rolling release. It does not have a major version. The installed packages are as follows:

packages.txt (5.3 KB)

Good evening, dear @NabilG ,
I must say that everything is OK with Explode when I use the Ubuntu 22.04 version of SALOME platform. But I’m still interested in reason of Explode breaking in universal binary version (because I’m fighting with the similar problem for older version of SALOME).
According to the source code from Git, libEntityGUI is the only one library for Explode instrument, if I’m not mistaken. All dependencies are resolved, therefore, everything must be OK… but it does not. Maybe it requires some exact versions of libraries? How to check it?

Hi,
apologize, we did not have time to look into this so far. I understand that you get things right with native ubuntu 22.04 build. We need on our side to be able to reproduce the reported issue first.