>I appreciate your help in this but I belive this is the wrong solution.
>What needs to happen is libGL.so when xlibmesa-gl-dev is installed must
>still point to the real libGL.so.1.2 which is now diverted
>to /usr/lib/nvidia. So in sense, 
>libGL.so -> /usr/lib/nvidia/libGL.so.1.2.xlibmesa 
>And on top of this if nvidia-glx-dev is installed libGL.so would then
>point to the NVIDIA lib.
>
>Using the NVIDIA lib would cause incorrect linking.

Yes, I see. But in this case, I think that still two solutions are possible:

Providing "/usr/lib/libGL.so.1.2" as a symlink to 
"/usr/lib/nvidia/libGL.so.1.2.xlibmesa"
in nvidia-glx.
OpenGL applications would furthermore load "/usr/lib/libGL.so.1 -> 
/usr/lib/libGL.so.8178"
(I'm not really sure about this, but I hope so), while the package 
"xlibmesa-dev"
would create the
symlink "/usr/lib/libGL.so" pointing to "/usr/lib/libGL.so.1.2 -> 
/usr/lib/nvidia/libGL.so.1.2.xlibmesa".

Providing the "/usr/lib/libGL.so" in nvidia-glx pointing to the real library.
Again, I'm not sure about
the runtime linking behavour of OpenGL applications (at the moment I can't
perform any tests). It must also
be guaranteed that _no_ package (especially "xlibmesa-dev") overwrites this
link.

I hope that this is helpful for you.

Christoph



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to