You are not logged in.

#1 2014-03-09 10:51:46

tybo
Member
Registered: 2012-05-03
Posts: 21

mesa 10.1.0-2 does not provide symlinks for libEGL

Hi,

mesa does not provide symlinks for libEGL.so, libEGL.so.1 and libEGL.so.1.0.0 to mesa-libEGL.so.1.0.0. Depending on the graphic cards drivers, those symlinks may be provided by mesa-libgl.

However, on a computer using the catalyst drivers the symlinks will be missing and most applications won't work anymore (amazingly including vim on the command line if you installed the gvim package!).

To solve the problem I manually created the following symlinks:
ln -s /usr/lib/mesa-libEGL.so.1.0.0 /usr/lib/libEGL.so
ln -s /usr/lib/mesa-libEGL.so.1.0.0 /usr/lib/libEGL.so.1
ln -s /usr/lib/mesa-libEGL.so.1.0.0 /usr/lib/libEGL.so.1.0.0

and also for lib32-mesa:
ln -s /usr/lib32/mesa-libEGL.so.1.0.0 /usr/lib32/libEGL.so
ln -s /usr/lib32/mesa-libEGL.so.1.0.0 /usr/lib32/libEGL.so.1
ln -s /usr/lib32/mesa-libEGL.so.1.0.0 /usr/lib32/libEGL.so.1.0.0

I would be interested in any suggestion for a better fix...

Cheers!

Offline

#2 2014-03-09 11:08:46

r3loaded
Member
Registered: 2011-12-16
Posts: 6

Re: mesa 10.1.0-2 does not provide symlinks for libEGL

Thanks for this, I was confused why nothing was launching as soon as I upgraded mesa. Why were the libEGL symlinks removed?

Offline

#3 2014-03-09 11:24:23

cju
Member
Registered: 2013-06-23
Posts: 194

Re: mesa 10.1.0-2 does not provide symlinks for libEGL

Offline

#4 2014-03-09 11:24:26

tybo
Member
Registered: 2012-05-03
Posts: 21

Re: mesa 10.1.0-2 does not provide symlinks for libEGL

It's nice if this post has been of some assistance!

I came across another topic regarding nvidia and libEGL posted earlier: nvidia-libgl: /usr/lib/libEGL.so exists in file system. It seems the nvidia package now provide said files.
I guess there is a trend to reorganize the packages this way, but perhaps the package maintainers would be able to explain the reason behind this.

Offline

#5 2014-03-09 12:08:34

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: mesa 10.1.0-2 does not provide symlinks for libEGL

r3loaded wrote:

Why

There's always been an annoying conflict between mesa and nvidia over libGL.so{,.1}, a PITA for all Linux distros.

Now libEGL.so{,.1} also has the same issue.

Offline

#6 2014-03-09 12:32:03

blackout23
Member
Registered: 2011-11-16
Posts: 781

Re: mesa 10.1.0-2 does not provide symlinks for libEGL

The catalyst package has to be split up into a -libgl package which then hold these files. This has been done for nvidia-304xx already.

Offline

#7 2014-03-09 17:24:43

deeproot
Member
Registered: 2014-03-09
Posts: 1

Re: mesa 10.1.0-2 does not provide symlinks for libEGL

I use catalyst drivers and X stopped working after updating mesa. Manually putting in the sym links fixed it.

Thanks

Last edited by deeproot (2014-03-09 17:26:25)

Offline

#8 2014-03-12 00:00:43

sunder
Member
Registered: 2014-03-11
Posts: 1

Re: mesa 10.1.0-2 does not provide symlinks for libEGL

This broke catalyst for me but I made a sym link to libEGL and I'm able to use X again, but now when I try to update pacman returns:

:: Synchronizing package databases...
 catalyst is up to date
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: cairo: requires libgl
:: glu: requires libgl
:: gnome-session: requires libgl
:: imagemagick: requires libcl
:: lib32-glu: requires lib32-libgl
:: libva: requires libgl
:: mplayer: requires libgl
:: pipelight: requires lib32-libgl
:: qt4: requires libgl
:: steam: requires lib32-libgl
:: webkitgtk: requires libgl
:: webkitgtk2: requires libgl

What should I do?

Offline

#9 2014-03-12 03:16:05

kamelie1706
Member
Registered: 2014-02-19
Posts: 176

Re: mesa 10.1.0-2 does not provide symlinks for libEGL

Check there
https://aur.archlinux.org/packages/catalyst-test

Commentaire de Vi0L0
2014-03-10 21:30
it's because of https://bbs.archlinux.org/viewtopic.php … 3#p1390853 :

Repo users should note that:
- catalyst-utils is now splitted into:
catalyst-utils
catalyst-libgl
opencl-catalyst
- lib32-catalyst-utils is now splitted into:
lib32-catalyst-utils
lib32-catalyst-libgl
lib32-opencl-catalyst

You MOST probably want to also install catalyst-libgl and (if using x86_64) lib32-catalyst-libgl


In other words to install all packages:
i686:
pacman -Syu catalyst-utils catalyst-libgl opencl-catalyst

x86_64:
pacman -Syu catalyst-utils catalyst-libgl opencl-catalyst lib32-catalyst-utils lib32-catalyst-libgl lib32-opencl-catalyst

Offline

Board footer

Powered by FluxBB