Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487702 - media-libs/mesa-9.2.0-r1: multilib and libEGL.so.1
Summary: media-libs/mesa-9.2.0-r1: multilib and libEGL.so.1
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-11 23:11 UTC by kisak42
Modified: 2015-02-21 19:21 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kisak42 2013-10-11 23:11:50 UTC
When moving from emul-linux-x86-opengl to the multilib setup including =media-libs/mesa-9.2.0-r1, and mesa has both the ABI_X86=32 and egl use flag, the ebuild should include symlinks from /usr/lib32/opengl/xorg-x11/lib/libEGL.so.1.0.0 to /usr/lib32/libEGL.so.1 and /usr/lib32/libEGL.so to preserve the previous behavior. The steam client fails to load do to missing this dependency.

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-10-12 06:30:28 UTC
$ ls /usr/lib32/libEGL* -l
lrwxrwxrwx 1 root root 35 10-10 13:08 /usr/lib32/libEGL.so -> opengl/xorg-x11/lib/libEGL.so.1.0.0
lrwxrwxrwx 1 root root 35 10-10 13:08 /usr/lib32/libEGL.so.1 -> opengl/xorg-x11/lib/libEGL.so.1.0.0

Those were created by eselect-opengl for me. Could you try:

$ eselect opengl set --use-old

? Also, which OpenGL provider are you using? Is it nvidia or ati?
Comment 2 kisak42 2013-10-12 13:13:06 UTC
(In reply to Michał Górny from comment #1)
> $ ls /usr/lib32/libEGL* -l
> lrwxrwxrwx 1 root root 35 10-10 13:08 /usr/lib32/libEGL.so ->
> opengl/xorg-x11/lib/libEGL.so.1.0.0
> lrwxrwxrwx 1 root root 35 10-10 13:08 /usr/lib32/libEGL.so.1 ->
> opengl/xorg-x11/lib/libEGL.so.1.0.0
> 
> Those were created by eselect-opengl for me. Could you try:
> 
> $ eselect opengl set --use-old
> 
> ? Also, which OpenGL provider are you using? Is it nvidia or ati?
I am using the nvidia binary blob.

# eselect opengl set --use-old
Switching to nvidia OpenGL interface... done

# ls /usr/lib32/libEGL* -l
ls: cannot access /usr/lib32/libEGL*: No such file or directory

# ls /usr/lib64/libEGL* -l
lrwxrwxrwx 1 root root 35 Oct 12 08:50 /usr/lib64/libEGL.so -> opengl/xorg-x11/lib/libEGL.so.1.0.0
lrwxrwxrwx 1 root root 35 Oct 12 08:50 /usr/lib64/libEGL.so.1 -> opengl/xorg-x11/lib/libEGL.so.1.0.0

sys-apps/portage-2.2.1
app-admin/eselect-1.3.8
app-admin/eselect-opengl-1.2.7
Comment 3 kisak42 2013-10-12 13:14:39 UTC
I am using nvidia-drivers-319.49 (current stable).
Comment 4 Christian Schmidt 2013-10-16 18:59:58 UTC
Same problem with nvidia-drivers-331.13 from testing.

The driver ships with 32bit libraries:

/tmp/portage/portage/x11-drivers/nvidia-drivers-331.13/work/32/libGL.la
/tmp/portage/portage/x11-drivers/nvidia-drivers-331.13/work/32/libGLESv2.so.331.13
/tmp/portage/portage/x11-drivers/nvidia-drivers-331.13/work/32/libEGL.so.331.13
/tmp/portage/portage/x11-drivers/nvidia-drivers-331.13/work/32/libGL.so.331.13
/tmp/portage/portage/x11-drivers/nvidia-drivers-331.13/work/32/libGLESv1_CM.so.331.13

but those are not installed.
Switching to xorg-x11 OpenGL provider once and then back to nvidia creates 32bit symlinks (to mesa, like the 64bit ones), though.

eselect opengl set --use-old doesn't help here.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-11-24 08:44:08 UTC
(re-assigning to eselect-opengl maintainer, CC-ing nvidia-drivers maintainer)
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-24 13:57:48 UTC
Are you looking for nvidia-drivers-331.20/work/libEGL.so.331.20 ? It isn't present in earlier versions.
Comment 7 Matt Turner gentoo-dev 2015-02-21 19:21:03 UTC
Please test a newer version and reopen if it's still a problem.