building xorg

Daniel Stone daniel at fooishbar.org
Tue Jun 17 12:12:12 PDT 2008


On Tue, Jun 17, 2008 at 11:46:29AM -0700, Dan Nicholson wrote:
> At runtime, you'd want Nvidia's libGL to run any GL applications. But
> at build time, you need mesa's GL/DRI headers for the server. So, just
> make sure mesa's gl.pc is in PKG_CONFIG_PATH at build time and then
> make sure the dynamic linker picks up Nvidia's libGL.so first at
> runtime (LD_LIBRARY_PATH or /etc/ld.so.conf or just move mesa's libGL
> out of the way). At least, that's the idea. I've never actually played
> the Nvidia libGL game.

NVIDIA also have their own GLX module, but you need the server to get
built with noGlxExtension (i.e. not --disable-glx), else it'll fail for
unresolved symbols.  So you have to build with GLX support, and then
just remove libglx.so and friends.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080617/522f7f0d/attachment.pgp>


More information about the xorg mailing list