Re: libGL compiled without -fPIC?
On 24 Dec 2004, Kurt Roeckx wrote:
> But there is a shared version of the lib available as
> /usr/lib/libGL.so (in xlibmesa-gl-dev), why aren't you using
> that?
Yeah, I'd done apt-get build-dep already. And believe
me, it wasn't by choice that I wanted it to use the static
version over the shared version! :)
Anyway, I found the problem. In /usr/lib I had:
---
lrwxrwxrwx 1 root root 12 Dec 23 21:47 libGL.so -> libGL.so.1.2
lrwxrwxrwx 1 root root 17 Dec 14 16:21 libGL.so.1 -> libGL.so.1.0.6629
-rw-r--r-- 1 root root 586K Dec 7 21:14 libGL.so.1.0.6629
but you'll note libGL.so.1.2 is missing! I think this may be an
nvidia-glx related bug. I receall having to manually create
libGL.so.1.2 myself on my x86 systems some time ago for a similar
GL library issue. After adding the link:
---
lrwxrwxrwx 1 root root 10 Dec 24 19:18 libGL.so.1.2 -> libGL.so.1
everything compiles and is happy.
If you could confirm (assuming you don't have the binary
nVidia drivers installed) the sanity of this situation pre
nvidia-glx, I'll file a bug report as I recall the same thing on
x86 too. Interestingly enough, if I do 'dpkg -S
/usr/lib/libGL.so.1.2' it gives me:
---
diversion by nvidia-glx from: /usr/lib/libGL.so.1.2
diversion by nvidia-glx to: /usr/lib/nvidia/libGL.so.1.2.xlibmesa
xlibmesa-gl: /usr/lib/libGL.so.1.2
but it obviously never actually created it.
Thanks for the reply.
--
Mark Nipper e-contacts:
Computing and Information Services nipsy@tamu.edu
Texas A&M University http://ops.tamu.edu/nipsy/
College Station, TX 77843-3142 AIM/Yahoo: texasnipsy ICQ: 66971617
(979)575-3193 MSN: nipsy@tamu.edu
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GG/IT d- s++:+ a- C++$ UBL++++$ P--->+++ L+++$ !E---
W++(--) N+ o K++ w(---) O++ M V(--) PS+++(+) PE(--)
Y+ PGP t+ 5 X R tv b+++@ DI+(++) D+ G e h r++ y+(**)
------END GEEK CODE BLOCK------
---begin random quote of the moment---
"Whiskey-Tango-Foxtrot, over."
-- anonymous
----end random quote of the moment----
Reply to: