Bug 211898 - xorg-x11-devel: missing dep on libGL/libGLU
Summary: xorg-x11-devel: missing dep on libGL/libGLU
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: xorg-x11
Version: 4.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Adam Jackson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-23 19:02 UTC by Rex Dieter
Modified: 2012-04-17 19:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-17 19:23:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rex Dieter 2006-10-23 19:02:51 UTC
xorg-x11-devel contains the symlinks 
/usr/X11R6/%{_lib}/libGLU.so
%{_libdir}/libGLU.so
but xorg-x11-devel doesn't contain any (direct) dependancy to pull in the target
of that symlink.  The same can be said for libGL, but that get's pulled
indirectly via xorg-x11-libs.

Not sure how best to handle this, but possibilities include:
1.  using file deps: -devel should
Requires: %{_x11libdir}/libGLU.so
Requires: %{_x11libdir}/libGL.so

2.  using explicit pkg deps: -devel should:
Requires: %{name}-Mesa-libGL = %{version]-%{release}
Requires: %{name}-Mesa-libGLU = %{version]-%{release}

3.  using virtual libGL/libGLU dep: -devel should
Requires: libGL.%{_target_cpu} libGLU.%{_target_cpu}
and -Mesa-libGL should
Provides: libGL.%{_target_cpu} = %{libGL_version}
and -Mesa-libGLU should
Provides: libGLU.%{_target_cpu} = %{libGLU_version}

I'd say 1 appears to be simplest/sanest approach.

Comment 1 Matěj Cepl 2007-10-17 08:41:30 UTC
Yes, I can confirm with the currently updated RHEL4 this is true. Sorry, for
letting this slip out of our screen for so long.

Comment 2 Adam Jackson 2012-04-17 19:23:06 UTC
No further non-security updates are planned for xorg-x11 in RHEL4.  If this issue is not addressed in RHEL5 or newer, please update the affected product version and reopen this bug.


Note You need to log in before you can comment on or make changes to this bug.