×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

[SOLVED] problem with libGLESv2.so.2 on odroid xu4

  • Posts: 167
  • Thank you received: 54
hi
i updated yesterday my odroid, and kstars crashes
it says :
kstars: error while loading shared libraries: libGLESv2.so.2: cannot open shared object file: No such file or directory
It's on arm odroid Xu4 and i'm sure it's related to specific libraries used on this platform
but, just to investigate, do you know if something has changed wich could explain this problem ?
Gilles.
Last edit: 6 years 8 months ago by gehelem. Reason: solved
6 years 8 months ago #17988

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 37
Do you have Ubuntu installed?

What is the result of this command?
find /usr | grep libGLESv2

---
Install the following things:
sudo apt-get install apt-file
sudo apt-file update

What is the result of these commands?
apt-file search libGLESv2.so.2
dpkg -l | grep libgles
The following user(s) said Thank You: gehelem
6 years 8 months ago #17989

Please Log in or Create an account to join the conversation.

  • Posts: 167
  • Thank you received: 54
well, thank you for your help:
odroid@odroid:~$ find /usr | grep libGLESv2
/usr/lib/arm-linux-gnueabihf/libGLESv2.so
/usr/lib/arm-linux-gnueabihf/mesa-egl/libGLESv2.so
/usr/lib/arm-linux-gnueabihf/mesa-egl/libGLESv2.so.2.0.0
/usr/lib/arm-linux-gnueabihf/mesa-egl/libGLESv2.so.2
/usr/lib/arm-linux-gnueabihf/mali-egl/libGLESv2.so
/usr/lib/chromium-browser/libGLESv2.
i've tried to add symbolic links into /usr/lib, but it doesn't work
odroid@odroid:~$ apt-file search libGLESv2.so.2
libgles2-mesa: /usr/lib/arm-linux-gnueabihf/mesa-egl/libGLESv2.so.2
libgles2-mesa: /usr/lib/arm-linux-gnueabihf/mesa-egl/libGLESv2.so.2.0.0
libhybris: /usr/lib/arm-linux-gnueabihf/libhybris-egl/libGLESv2.so.2
libhybris: /usr/lib/arm-linux-gnueabihf/libhybris-egl/libGLESv2.so.2.0.0
nvidia-340: /usr/lib/nvidia-340/libGLESv2.so.2
nvidia-361: /usr/lib/nvidia-361/libGLESv2.so.2
nvidia-375: /usr/lib/nvidia-375/libGLESv2.so.2
odroid@odroid:~$ dpkg -l | grep libgles
ii  libgles2-mesa:armhf                           12.0.6-0ubuntu0.16.04.1                       armhf        free implementation of the OpenGL|ES 2.x API -- runtime
ii  libgles2-mesa-dev:armhf                       12.0.6-0ubuntu0.16.04.1                       armhf        free implementation of the OpenGL|ES 2.x API -- development files
odroid@odroid:~$
6 years 8 months ago #17991

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 37
And this command?

ldd /usr/bin/kstars
6 years 8 months ago #17992

Please Log in or Create an account to join the conversation.

  • Posts: 167
  • Thank you received: 54
this one is huge :
Warning: Spoiler!
Last edit: 6 years 8 months ago by gehelem.
6 years 8 months ago #17993

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 37
Do you run Ubuntu and installed KStars from PPA?

Anyway you should make symlink from
/usr/lib/arm-linux-gnueabihf/mesa-egl/libGLESv2.so.2
to
/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2

and it will work.
The following user(s) said Thank You: gehelem
Last edit: 6 years 8 months ago by Csaba Kertesz.
6 years 8 months ago #17994

Please Log in or Create an account to join the conversation.

  • Posts: 167
  • Thank you received: 54
Yes, ubuntu mate, and kstars-bleeding from ppa

So i did
sudo ln -s /usr/lib/arm-linux-gnueabihf/mesa-egl/libGLESv2.so.2 /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2
And... it works !
don't know what happend..
Anyway, thank you very very much for your help
Gilles.
6 years 8 months ago #17995

Please Log in or Create an account to join the conversation.

Time to create page: 0.245 seconds