Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Prelink, nvidia, qt and opengl-update tip
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Seth
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 156
Location: U.S.

PostPosted: Mon Jan 06, 2003 12:21 pm    Post subject: Prelink, nvidia, qt and opengl-update tip Reply with quote

This tiny tip in big type, for those of us who use nvidia drivers and qt, is an addendum to the otherwise very complete Gentoo Linux Prelink Guide.

While the Guide makes it clear that nvidia's version of opengl and prelink do not get along, and tells you that you need to use the nv and opengl drivers that come with XFree, it leaves out one vital step you need to take if you want prelink to work:

    Before prelinking run "opengl-update xfree"

Why?
Because if your system is using NVidia's opengl drivers, and you do a dry run
Code:

prelink -na

you will get a long list of error messages similar to these:
Quote:

prelink: /usr/lib/libGLcore.so.1: Library without dependencies
prelink: Could not prelink /usr/kde/3.1/lib/libkdefx.so.4 because its dependency /usr/qt/3/lib/libqt-mt.so.3 could not be prelinked
prelink: Could not prelink /usr/kde/3.1/lib/libkdesu.so.4 because its dependency /usr/kde/3.1/lib/libkdecore.so.4 could not be prelinked
....

I believe what's going on here is that prelink is unable to do its thing with nvidia's version of the libGLcore.so.1 library and the gl library is at the root of a tree of dependencies. So if prelink can't work on lbGLCore.so.1, it can't move up the tree of dependecies to work libqt-mt.so.3. And if libqt-mt.so.3 can't be prelinked, then most kde apps, which use the qt library, can't be prelinked either.

So tell your system to use the XFree versions of opengl by running

    opengl-update xfree

HTH
Seth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum