LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   Raspberry Pi B missing libEGL.so.1 (https://www.linuxquestions.org/questions/slackware-arm-108/raspberry-pi-b-missing-libegl-so-1-a-4175556471/)

Nh3xus 10-18-2015 04:07 AM

Raspberry Pi B missing libEGL.so.1
 
Hi guys,

I just went ahead and installed Slackware 14.1 from fatdog on my Rpi Pi B.

After I've updated everything, the following command which is ran at startup :

Code:

gdk-pixbuf-query-loaders-32 --update-cache
is complaining about the missing dependency : libEGL.so.1

Anyone knows how to fix that ?

Keith Hedger 10-18-2015 11:03 AM

libegl is part of the mesalib pkg, not installed on my ripi

Nh3xus 10-19-2015 08:44 AM

Hi Keith,

Neither is mesa installed on my RPi.

Since I run it without the X server installed, I assume that this error is harmless.

Thanks for your insight on the matter :)

Didier Spaier 10-19-2015 02:07 PM

@drmozes: as gdk_pixbuf2 is in L but mesa in X, maybe this shared object could be also shipped in aaa_elflibs? Additionally, IIRC it is also missing after installing NVidia drivers (and still IIRC, reinstalling it doesn't hurt), so maybe this could also help for that?

drmozes 10-19-2015 04:29 PM

Quote:

Originally Posted by Didier Spaier (Post 5437027)
@drmozes: as gdk_pixbuf2 is in L but mesa in X, maybe this shared object could be also shipped in aaa_elflibs? Additionally, IIRC it is also missing after installing NVidia drivers (and still IIRC, reinstalling it doesn't hurt), so maybe this could also help for that?

What is the connection between installing NVidia drivers and the library going missing?
Installing them where, on ARM or x86?
Does the library file get removed from the OS, or goes missing from the library cache?

Keith Hedger 10-19-2015 05:05 PM

mesalib supploes the gl drivers for 3d graphics etc so if you dont have x installed you really dont need it, elf lib in my understanding is for loading executable files etc and has nothing to do with graphics.

Didier Spaier 10-20-2015 07:39 AM

Quote:

Originally Posted by drmozes (Post 5437079)
What is the connection between installing NVidia drivers and the library going missing?
Installing them where, on ARM or x86?
Does the library file get removed from the OS, or goes missing from the library cache?

On Slackware64-14.1 (x86_64):
Code:

bash-4.2# lspci -vnn|grep VGA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108GLM [Quadro 1000M] [10de:0dfa] (rev a1) (prog-if 00 [VGA controller])
<sh NVIDIA-Linux-x86_64-355.11.run> # using the installer provided by NVIDIA
bash-4.2$ cd /
bash-4.2$ LANG=en_US;for i in `grep ^usr/lib64/lib /var/log/packages/mesa-9.1.7-x86_64-1`; do ls $i|grep No;done
ls: cannot access usr/lib64/libGL.so.1.2.0: No such file or directory
ls: cannot access usr/lib64/libEGL.so.1.0.0: No such file or directory
bash-4.2$


drmozes 10-20-2015 01:08 PM

Quote:

Originally Posted by Didier Spaier (Post 5437372)
On Slackware64-14.1 (x86_64):
Code:

bash-4.2# lspci -vnn|grep VGA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108GLM [Quadro 1000M] [10de:0dfa] (rev a1) (prog-if 00 [VGA controller])
<sh NVIDIA-Linux-x86_64-355.11.run> # using the installer provided by NVIDIA
bash-4.2$ cd /
bash-4.2$ LANG=en_US;for i in `grep ^usr/lib64/lib /var/log/packages/mesa-9.1.7-x86_64-1`; do ls $i|grep No;done
ls: cannot access usr/lib64/libGL.so.1.2.0: No such file or directory
ls: cannot access usr/lib64/libEGL.so.1.0.0: No such file or directory
bash-4.2$


OK but I don't see how putting it in to aaa_elflibs will help resolve that, if the nvidia installer is removing it. Have you tried reinstalling mesa, chattr +i /usr/lib64/lib*GL*so*
then running the Nvidia installer? It'd be interesting to see what is removing the libraries.

From what I understood from the OP, the problem is that the headless machine does not have mesa installed and gdkpixbuf is linking against it. There are quite a few situations like this and yes it would help to have these libraries contained in an aaa_elflib like package (I used to maintain my own X-solibs for this purpose). I've pointed this thread out to Pat.

Didier Spaier 11-01-2015 08:03 AM

2 Attachment(s)
Quote:

Have you tried reinstalling mesa, chattr +i /usr/lib64/lib*GL*so*
then running the Nvidia installer? It'd be interesting to see what is removing the libraries.
See file appended. I am not sure that this information helps though.

I also append the content of the NVIDIA bundle, output of "sh <bundle> -l"

Sorry for the late answer.


All times are GMT -5. The time now is 08:11 AM.