Another thought: why are you trying to link against libX11.a and not libX11.so? On Thu, 19 Oct 2006, Joe Morris (NTM) wrote:
Dan Sawyer wrote:
Here's the error: ve/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld
: /usr/lib64/libX11.a(ChProp.o): relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib64/libX11.a: could not read symbols: Bad value collect2: ld returned 1 exit status Sorry for the obvious question, but did you try to recompile with -fPIC?
-- Volkmar Glauche - Department of Neurology volkmar.glauche@uniklinik-freiburg.de Universitaetsklinikum Freiburg Phone 49(0)761-270-5331 Breisacher Str. 64 Fax 49(0)761-270-5416 79106 Freiburg http://fbi.uniklinik-freiburg.de/