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

Re: Compile failure libGL.a

On Sat, Mar 25, 2006 at 04:26:47PM +0100, Gudjon I. Gudjonsson wrote:
> -L/usr/share/qt3/lib -L/usr/X11R6/lib -lz -lqt-mt -lGLU -lGL -lXmu -lpthread
> /usr/bin/ld: /usr/X11R6/lib/libGL.a(glapi.o): relocation R_X86_64_32 against 
> `a local symbol' can not be used when making a shared object; recompile with 
> -fPIC
> /usr/X11R6/lib/libGL.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [lib/libqwtplot3d.so.0.3.0] Error 1

Please check that you have an /usr/X11R6/lib/libGL.so file, and
that it points to some other /usr/X11R6/lib/libGL.so.* files, and
that those exist.

Also, from what package is that libGL.a?  Try a
dpkg --search /usr/X11R6/lib/libGL.a

It should say xlibmesa-gl-dev.

Anyway, I suggest you (re)install xlibmesa-gl-dev.


Reply to: