Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 453256

Summary: =media-libs/xine-lib-1.2.2 - configure: error: OpenGL GLU support requested, but GLU not found (ld: cannot find -lGLU)
Product: Gentoo Linux Reporter: Marcin Szamotulski <profunctor>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log file
config.log file

Description Marcin Szamotulski 2013-01-20 23:23:06 UTC
=media-libs/xine-lib-1.2.2 fails to configure because of a missing dependency:

configure: error: OpenGL GLU support requested, but GLU not found

I attach the build.log file.

Reproducible: Always
Comment 1 Marcin Szamotulski 2013-01-20 23:24:20 UTC
Created attachment 336286 [details]
build.log file
Comment 2 Marcin Szamotulski 2013-01-20 23:25:17 UTC
Created attachment 336288 [details]
config.log file
Comment 3 Rafał Mużyło 2013-01-21 06:49:52 UTC
The ebuild already has virtual/glu dependency (on opengl useflag), which should have pulled that lib in.
Comment 4 Marcin Szamotulski 2013-01-21 10:51:47 UTC
=virtual/glu-9.0 is installed on my system.
Comment 5 Marcin Szamotulski 2013-01-21 10:53:06 UTC
also =media-libs/glu-9.0.0 is installed.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-01-21 13:27:20 UTC
Works fine here:

# emerge -C virtual/glu media-libs/glu
# USE="-opengl" emerge -av xine-lib

Results in succesful build. The dependency in the ebuild is there. It has virtual/glu behind USE="opengl". So you might have virtual/glu installed, but if you haven't done, like world update, it might not have yet pulled media-libs/glu in.

Please do:

# emerge -1 media-libs/glu virtual/glu

And retry. The dependency is there.
Comment 7 Dan Johnson 2013-02-10 23:04:40 UTC
I just saw this same problem on one of my systems.

Turns out that:
$ qcheck media-libs/glu
 AFK: /usr/lib64/libGLU.so.1.3.1
 MTIME: /usr/lib64/libGLU.so
 AFK: /usr/lib64/libGLU.so.1
  * 8 out of 11 files are good

Additionally, libGLU.so is a broken symlink:
/usr/lib64/libGLU.so -> opengl/xorg-x11/lib/libGLU.so.1.3.08003

I think something broke this package during upgrade, as it isn't likely that this particular system has another cause for this state.

Fortunately, emerge -1 media-libs/glu fixes this, and xine-lib proceeds to compile without incident, but I'm quite curious what caused this broken state.

I'm not sure if this bug should be reopened, but hopefully this should add some more information.