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

libGL compiled without -fPIC?



	While trying to build vlc here at home, I got this:
---
gcc -Wsign-compare -Wall -pipe -o libopengl_plugin.so libopengl_plugin_a-opengl.o `top_builddir=../.. ../../vlc-config --libs plugin opengl`
/usr/bin/ld: /usr/lib/libGL.a(glapi.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/lib/libGL.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[5]: *** [libopengl_plugin.so] Error 1


	Ack!  I'm grabbing the sources now for xlibmesa-gl to
verify, but at 768kbps, it will take a little more time.  Anyone
else seen this yet?

	I should mention I'm trying to debuild the vlc package,
not straight from source from upstream.  The maintainer left off
--enable-ncurses (bug filed already) and I successfully rebuilt
the package at work on x86.  I was just trying to build the same
here at home on x86_64.  :)

-- 
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---
I love deadlines. I like the whooshing sound they make as
they fly by.
 -- Douglas Adams
----end random quote of the moment----



Reply to: