LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-02-2014, 05:20 AM   #1
Bart_
LQ Newbie
 
Registered: May 2010
Posts: 17

Rep: Reputation: 0
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?
 
Old 02-02-2014, 11:34 AM   #2
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
Hello,

Quote:
Originally Posted by Bart_ View Post
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_ View Post
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

Last edited by phenixia2003; 02-02-2014 at 11:36 AM.
 
Old 02-02-2014, 12:09 PM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,348

Rep: Reputation: 4343Reputation: 4343Reputation: 4343Reputation: 4343Reputation: 4343Reputation: 4343Reputation: 4343Reputation: 4343Reputation: 4343Reputation: 4343Reputation: 4343
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...

Last edited by ponce; 02-02-2014 at 12:10 PM.
 
Old 02-03-2014, 04:31 AM   #4
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
I do have this library from nvidia but I have 325.15 as the driver version.
 
Old 02-03-2014, 01:14 PM   #5
Bart_
LQ Newbie
 
Registered: May 2010
Posts: 17

Original Poster
Rep: Reputation: 0
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.
 
Old 02-05-2014, 06:48 AM   #6
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272

Rep: Reputation: 43
I noticed about this problem with 173.14.39 proprietary driver, but installing driver packages form slackbuilds.org avoids this.
 
Old 02-09-2014, 04:34 AM   #7
Bart_
LQ Newbie
 
Registered: May 2010
Posts: 17

Original Poster
Rep: Reputation: 0
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

Last edited by Bart_; 02-09-2014 at 04:36 AM.
 
Old 02-09-2014, 06:25 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
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
 
Old 02-09-2014, 02:02 PM   #9
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 335

Rep: Reputation: 202Reputation: 202Reputation: 202
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.
 
Old 02-09-2014, 03:11 PM   #10
genss
Member
 
Registered: Nov 2013
Posts: 748

Rep: Reputation: Disabled
the newest driver has 64bit EGL
older had only 32bit
(even older didn't have any)
 
Old 12-19-2014, 09:01 PM   #11
duffman
LQ Newbie
 
Registered: Oct 2014
Location: Canada
Distribution: Slackware 14.1
Posts: 13

Rep: Reputation: Disabled
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.
 
Old 12-19-2014, 10:09 PM   #12
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
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.
 
Old 12-20-2014, 08:30 AM   #13
wifredo
LQ Newbie
 
Registered: Dec 2014
Distribution: Slackware
Posts: 6

Rep: Reputation: Disabled
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 View Post


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

Last edited by wifredo; 12-20-2014 at 08:38 AM.
 
Old 12-20-2014, 03:27 PM   #14
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,647

Rep: Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655
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>
 
Old 03-26-2015, 12:07 AM   #15
l0rddarkf0rce
Member
 
Registered: Nov 2004
Location: Virginia, US
Distribution: Slackware 14.1 multilib
Posts: 149

Rep: Reputation: 33
Quote:
Originally Posted by wifredo View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing nVidia drivers with Optimus support, startx gives error "no screens found" flokofcgulls Slackware 8 06-04-2013 09:05 PM
[SOLVED] Residual windows after installing NVIDIA proprietary drivers Thinkpad T510/Slackware anon209 Slackware 8 11-18-2010 04:46 PM
After installing nvidia drivers, nvidia.ko not found robogymnast Linux - Software 7 11-08-2008 02:28 PM
Screen crash after installing Nvidia drivers on slackware krokodille Linux - Newbie 1 08-29-2005 04:41 PM
Installing nVidia drivers on slackware 9 gtgoku Slackware 2 10-16-2003 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration