LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 14.1 libeEGL.la not found after installing Nvidia Drivers (https://www.linuxquestions.org/questions/slackware-14/slackware-14-1-libeegl-la-not-found-after-installing-nvidia-drivers-4175493420/)

Bart_ 02-02-2014 04:20 AM

Slackware 14.1 libeEGL.la not found after installing Nvidia Drivers
 
Hi all,
I noticed, trying to compile handbrake from slackbuilds.org, which was not found libEGL.la. From what I read on the Internet seems to be a problem related to Nvidia drivers:
https://devtalk.nvidia.com/default/t...lib-libegl-la/


I solved the problem re-installing packages:
installed mesa-9.1.7-x86_64-1
installed multilib mesa-compat32-9.1.7-x86_64-1compat32

I have a multilib Slackware 14.1.
Someone else has noticed the problem?

phenixia2003 02-02-2014 10:34 AM

Hello,

Quote:

Originally Posted by Bart_ (Post 5109607)
Hi all,
I noticed, trying to compile handbrake from slackbuilds.org, which was not found libEGL.la. From what I read on the Internet seems to be a problem related to Nvidia drivers:
https://devtalk.nvidia.com/default/t...lib-libegl-la/

I noticed that when I installed nvidia driver 331.20, and I was sure this could lead to some compilation problems, so I posted this message on nvidia forum. Sadly this was not fixed in 331.38.

Quote:

Originally Posted by Bart_ (Post 5109607)
I solved the problem re-installing packages:
installed mesa-9.1.7-x86_64-1
installed multilib mesa-compat32-9.1.7-x86_64-1compat32


By doing that, some of important nvidia OpenGL files are overwritten and you have to reinstall the nvidia driver, otherwise you will have issues.


AFAIK the nvidia-installer makes a backup of some files (including libEGL.la) into /var/lib/nvidia. Sadly, the files are renamed using numbers (100,101,...) and you have to look at the file /var/lib/nvidia/log to find which of those file is libEGL.la

Cheers.

--
SeB

ponce 02-02-2014 11:09 AM

FYI, if using the build scripts from SBo for nvidia-kernel and nvidia-driver this thing doesn't seem to manifest, so it seems a nvidia-installer-related problem...

wildwizard 02-03-2014 03:31 AM

I do have this library from nvidia but I have 325.15 as the driver version.

Bart_ 02-03-2014 12:14 PM

I have found this problem with NVIDIA-Linux-x86_64-331.38 driver.

I uninstalled the drivers and tried Nvidia-kernel and Nvidia-driver packages from SlackBuilds.org. As anticipated from Ponce, with these packages, everything went well.

yars 02-05-2014 05:48 AM

I noticed about this problem with 173.14.39 proprietary driver, but installing driver packages form slackbuilds.org avoids this.

Bart_ 02-09-2014 03:34 AM

There is another problem. By installing the packages Nvidia-drivers and Nvidia-kernel from Slackbuilds.org on a 64 bit system, you don't have the 32 bit libraries for your videocard . This, from what I understand, creates this problem when I start steam:
Quote:

OpenGL GLX context is not using direct rendering, which may cause performance problems
EDIT: solved with COMPAT32="yes" ./nvidia-driver.SlackBuild

brianL 02-09-2014 05:25 AM

No problem with the 319.49 driver, using the NVidia installer:
Code:

bash-4.2$ locate libEGL
/usr/lib/libEGL.la
/usr/lib/libEGL.so
/usr/lib/libEGL.so.1.0.0
/usr/lib/libEGL.so.1
/usr/lib64/libEGL.la
/usr/lib64/libEGL.so
/usr/lib64/libEGL.so.1.0.0
/usr/lib64/libEGL.so.1


Lenard Spencer 02-09-2014 01:02 PM

Good news everybody! The new Nvidia 334.16 driver fixed that issue. Granted, it's still a beta release, but it seems to work here. :D

genss 02-09-2014 02:11 PM

the newest driver has 64bit EGL
older had only 32bit
(even older didn't have any)

duffman 12-19-2014 08:01 PM

Was trying to compile frei0r 1.4 from Slackbuild.org but it fails because libEGL.la is missing

I'm using Nvidia 340.46.
Seems like libEGL.la is deleted by the nvidia installer.

ReaperX7 12-19-2014 09:09 PM

If you use the SBo installation method, you shouldn't have an issue with libEGL not being found. Please use the SBo installation packages for Nvidia drivers if you do not want problems.

wifredo 12-20-2014 07:30 AM

This is what I do to solve it (using slack 14.1 32bit, not 64 with multilib):
Code:

# grep ".la" /var/lib/nvidia/log
Quote:

101: /usr/X11R6/lib/libEGL.la
104: /usr/X11R6/lib/libGL.la
...
Then:
Code:

# cp /var/lib/nvidia/101 /usr/X11R6/lib/libEGL.la
# cp /var/lib/nvidia/104 /usr/X11R6/lib/libGL.la

Regards.

PS: Exactly this-->
Quote:

Originally Posted by phenixia2003 (Post 5109713)


AFAIK the nvidia-installer makes a backup of some files (including libEGL.la) into /var/lib/nvidia. Sadly, the files are renamed using numbers (100,101,...) and you have to look at the file /var/lib/nvidia/log to find which of those file is libEGL.la

Cheers.

--
SeB


John VV 12-20-2014 02:27 PM

Quote:

Someone else has noticed the problem?
not just slack

to work the NVIDIA.run HAS TO replace some system files

this also includes /usr/include/GL/GL.h
along with the .so's and .la's

so be careful on building code
code that was built WITH mesa might not work with the nvidia .so's
and code built with the nvidia.so's might not work with the mesa<GL/GL.h>

l0rddarkf0rce 03-25-2015 11:07 PM

Quote:

Originally Posted by wifredo (Post 5288018)
This is what I do to solve it (using slack 14.1 32bit, not 64 with multilib):
Code:

# grep ".la" /var/lib/nvidia/log
Then:
Code:

# cp /var/lib/nvidia/101 /usr/X11R6/lib/libEGL.la
# cp /var/lib/nvidia/104 /usr/X11R6/lib/libGL.la

Regards.

PS: Exactly this-->

I also had to create a link in /usr/lib64 to /usr/X11R6/lib/libEGL.la but after that my problem compiling gst1-plugins-base went away. Thanks mate


All times are GMT -5. The time now is 09:12 PM.