* Robert J. Hansen wrote on Thu, Aug 24, 2006 at 06:48:00PM CEST: > > /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -o hwk_1 test.o > -lGL -L/usr/X11R6/lib64 -lX11 > g++ -g -O2 -o hwk_1 test.o /usr/lib/libGL.so -L/usr/X11R6/lib -lm > -lXext -ldl -L/usr/X11R6/lib64 -lX11 > /usr/lib/libGL.so: could not read symbols: File in wrong format
The fact that -L/usr/X11R6/lib64 is passed later than -lGL on the command line looks like a bug in the configury to me (probably in AX_CHECK_GL, I don't know this macro). But to know that, I'd need to see the version of the macro used and config.log output. I'd first try whether linking manually like this works: /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -o hwk_1 test.o \ -L/usr/X11R6/lib64 -lGL -lX11 If it does, then I'd try whether adding --x-libraries=/usr/X11R6/lib64 to the configure invocation and rebuilding works out of the box. If neither works, then please send the output of ../libtool --tag=CXX --config ../libtool --debug --tag=CXX --mode=link g++ -g -O2 -o hwk_1 test.o \ -L/usr/X11R6/lib64 -lGL -lX11 (please pack large output with gzip). Cheers, Ralf