Atom topic feed | site map | contact | login | Protection des données personnelles | Powered by FluxBB | réalisation artaban
You are not logged in.
Bonjour,
Lorsque j'essaie d'utiliser l'outil "explode"du module géométrie, j'obtiens toujours ce message d'erreur : "gui library corresponding to the user action can not be found or loaded"
Un idée de comment réparer ça ?
Cordialement
Offline
I have the same problem, both with V2016 and V2019. The o.s. is Ubuntu 19.04. No further messages are shown in the bash windows or in the python console.
Offline
Hi,
An extra-library is needed for Explode to work:
apt-get install libgtk2.0-0
(Salome is in Qt but it seems some prerequisites need gtk2)
If this error occurs again an another function, here is how to find which library is missing:
In the sources of GEOM, check in which plugin library is included the function: src/GEOMGUI/GeometryGUI.cxx
For Explode, we can see it is in "EntityGUI", so libEntityGUI.so in linux.
In the python console of Salome, enter:
import os
os.system("ldd /opt/salome/V2019_univ/modules/GEOM_V9_3_0/lib/salome/libEntityGUI.so|grep found")
If it ends with 256 code, there is no missing library.
If it ends with 0 code, you will see in the terminal the missing library:
libgtk-x11-2.0.so.0 => not found
To find which package can provide this file:
apt-file search libgtk-x11-2.0.so.0
Then install it:
apt-get install libgtk2.0-0
Christophe
Offline
Christophe, thank you for the detailed guidance above
Sadly, it did not come to a successful end.
I have installed SalomeMeca 2020 on lubuntu 20 in un virtual machine. Everything works well except the "Explode function" in the geometry module
Doing these commands in the Salome shell:
import os
os.system("ldd ~/ca/salome_meca/V2020.0.1_universal_universal/modules/GEOM_V9_4_0/lib/salome/libEntityGUI.so|grep found")
I get to know the lacking libraries:
libavcodec.so.57 => not found
libavformat.so.57 => not found
libavutil.so.55 => not found
libswscale.so.4 => not found
libjpeg.so.62 => not found
The last one (libjpeg.so.62) I could install.
The other 4 are with different numbers on lubuntu 20 and they are already installed:
libavcodec.so.58
libavformat.so.58
libavutil.so.56
libswscale.so.5
Now I have created links with the name "57":
libavcodec.so.57
pointing to a library "58" (and so on for all 4 libraries). See attachment "creating_links".
The libraries are now not longer lacking. But other problems appear when trying again in Salome shell
os.system("ldd ~/ca/salome_meca/V2020..........
see attachment "afterwards_appearing_problems"
Is it possible to manipulate in some manner the library libEntityGUI.so so that it points to libs of the versions as installed in lubuntu 20?
Or do you have another idea?
many thanks
Best regards
Johannes Ackva
*** NEW: all Code-Aster courses now as Video and Webinar courses ***
Ingenieurbüro für Mechanik
D 91717 Wassertrüdingen / Germany
www.code-aster.de Training & Support for NASTRAN and CODE-ASTER
Offline
Hi Johannes,
You should not symlink to another version of a file.
The missing files can be retrieved from debian.org/distrib/packages. At the end of the page, enter the name of the file you want, and "old stable" as distribution. It will give you the name of the package. Then download the amd64 version of the package. Do not install it, but extract it with :
dpkg-deb -xv package_name.deb V2020.0.1_universal_universal/prerequisites/debianForSalome/lib
Christophe
Offline
hello Christophe
thank you for your post. But I have still no success. What I did:
I go to:
https /www .debian.org/distrib/packages
at "search package directories" I entered for Keyword:
libavcodec.so.57
I activated:
* paths ending with the keyword
* Distribution: oldstabel
* Architecture: any
clicking on search, 10 results are found
I open:
* libavcodec57 [amd64]
Under Download libavcodec57
there is again a table of 10 entries
I open "amd64" (1st line)
on the button "security.debian.org/debian-security" I download
libavcodec57_3.2.15-0+deb9u2_amd64.deb
then
cd ~/salome_meca/V2020.0.1_universal_universal/prerequisites/debianForSalome/lib
cp ~/Download/libavcodec57_3.2.15-0+deb9u2_amd64.deb .
dpkg-deb -xv libavcodec57_3.2.15-0+deb9u2_amd64.deb .
Now when doing in Salome Python terminal again
import os
os.system("ldd /opt/salome/V2019_univ/modules/GEOM_V9_3_0/lib/salome/libEntityGUI.so|grep found")
I find the same libriries lacking. So the whole procedure for libavcodec.so.57 did not work
*** can you tell me please what I did wrong?
*** I would also like to understand: what happens really with this procedure (should happen!)?
Are new libraries (the good ones!) stored in the Salome library folder
(.....V2020.0.1_universal_universal/prerequisites/debianForSalome/lib)
and this is the preferred location where libEntityGUI.so is searching for the sub-libraries?
I hope very much I will resolve this with your help, thank you again
Best regards
Johannes Ackva
*** NEW: all Code-Aster courses now as Video and Webinar courses ***
Ingenieurbüro für Mechanik
D 91717 Wassertrüdingen / Germany
www.code-aster.de Training & Support for NASTRAN and CODE-ASTER
Offline
I forgot an extra step. The libraries are extracted in the sub-folder usr/lib/x86_64-linux-gnu. So you have to move them to debianForSalome/lib:
cd ~/salome_meca/V2020.0.1_universal_universal/prerequisites/debianForSalome/lib
mv usr/lib/x86_64-linux-gnu/* .
Christophe
Offline
Christoph
I did as you wrote in your last post. The library is then found, but other libraries which the first refers to are then lacking.
To summarize:
Lacking at the beginning:
libavcodec.so.57 => not found
libavformat.so.57 => not found
libavutil.so.55 => not found
libswscale.so.4 => not found
Then I installed libavcodec.so.57 in the manner described in your last post
libavcodec.so.57 is then not longer lacking. But lacking are then 11 libraries:
libavformat.so.57 => not found
libavutil.so.55 => not found
libswscale.so.4 => not found
libswresample.so.2 => not found
libavutil.so.55 => not found
libva.so.1 => not found
libx265.so.95 => not found
libx264.so.148 => not found
libwebpmux.so.2 => not found
libvpx.so.4 => not found
libcrystalhd.so.3 => not found
The first 3 of them are lacking already at the beginning. The 4th to 11th are new lacking. They are exactly the ones referred by libavcodec.so.57.
This is seen with this terminal command:
ca@lubuntu:~/salome_meca/V2020.0.1_universal_universal/prerequisites/debianForSalome/lib$ ldd ./libavcodec.so.57|grep found
libswresample.so.2 => not found
libavutil.so.55 => not found
libva.so.1 => not found
libx265.so.95 => not found
libx264.so.148 => not found
libwebpmux.so.2 => not found
libvpx.so.4 => not found
libcrystalhd.so.3 => not found
Can this be solved?
Johannes
*** NEW: all Code-Aster courses now as Video and Webinar courses ***
Ingenieurbüro für Mechanik
D 91717 Wassertrüdingen / Germany
www.code-aster.de Training & Support for NASTRAN and CODE-ASTER
Offline