DragonFly kernel List (threaded) for 2008-11
DragonFly BSD
DragonFly kernel List (threaded) for 2008-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: nvidia drivers


From: Petr Janda <elekktretterr@xxxxxxxxxxxxxx>
Date: Sun, 23 Nov 2008 03:31:12 +1100

> - install mesa
> - install nvidia drivers+libs
> - have /usr/pkg/lib/libGL.so point to /usr/pkg/lib/libGL.so.1.0.5, which
> should be from mesa.  It is important that this lib has the SONAME set to
> libGL.so.1 (you can check with objdump -x)
>
> now compiling should link to the mesa lib, but then libGL.so.1 will be
> used by the runtime linker.
>
> But looking at your compiler output, libGLU depends on libGL.so.1.0.5,
> which is bad.  You will need
> <http://chlamydia.fs.ei.tum.de/~corecode/unsorted/libtool-dragonfly.diff>
> this patch as well, I believe (and recompile Mesa+libs depending on Mesa).

Let me get it straight because I already have all the packages(mesa etc) 
installed.

1) Patch libtool, reinstall mesa
2) Reinstall nvidia drivers + libs
3) Link libGL.so(installed by Mesa) to libGL.so.1.0.5 (ignore the instructions 
in the README saying to link libGL.so.wrapped to libGL.so.1.0.5)
4) Make sure libGL.so.1 thats installed by your wrapper is referenced by the 
SONAME in libGL.so

Am I understanding correct?

Petr



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]