On Tue, 21 Oct 2003, Linus Torvalds wrote:

>> glcontextmodes.o gets linked to libGL, not the driver. Apperently you
>> have an outdated libGL installed.
>
>Well, my regular libGL.so is as new as the driver and compiled from DRI.  
>And yes, _gl_context_modes_destroy is there according to 'nm'.
>
>HOWEVER - with the new Fedora test install, the system will actually have 
>a libGL.so in /usr/X11R6/lib/tls/ too - and will find that one first.
>
>Removing the TLS-version of libGL solves the problem.
>
>So this is just a heads-up: I bet other people will hit this problem as 
>they upgrade to Fedora test and the new RH library locations.

Lots of people will likely inadvertently be hit by this 
unfortunately.  My suggestion to everyone, is to uninstall the 
XFree86-Mesa-libGL package using:

        rpm -e --nodeps XFree86-Mesa-libGL

As long as you know you're installing another rpm which provides 
libGL itself, then all rpm dependancies will be met properly and 
the --nodeps above is harmless.  However if one installs outside 
of rpm context, such as from raw sources, then the system will 
have unmet rpm dependancies on libGL.so.1 and will complain about 
it.  2 solutions to that are:

1) Make sure any alternative libGL being installed is in rpm 
   format

or

2) Create a dummy rpm called "fake-libGL-provide" which contains 
   no files, but which has lines like:  "Provides: libGL.so.1"

By doing either of these, ensures rpm is happy, and that there 
shouldn't be any libGL conflicts.  I made Mesa-libGL a separate 
subpackage to make replacing libGL easier for people to do.

Hope this helps people to avoid such libGL probs.

TTYL

-- 
Mike A. Harris



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to