Quote:
Originally Posted by marbangens
Code:
/usr/lib/libX11-xcb.so: could not read symbols: File in wrong format
|
This just indicates that it is trying to link to 32 bit library for a 64 bit package. Not what you wanted
Quote:
Originally Posted by marbangens
Code:
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
|
This is correct method for linking to the correct $ARCH specific library when using autotools or some similar configure script.
For a quick (and maybe dirty) way to tell if the installed librar(y|ies) link to the right $ARCH specific libraries you can run ldd on them.
Eg.
Code:
# ldd /usr/lib64/libm.so
linux-vdso.so.1 (0x00007fffab52a000)
libc.so.6 => /lib64/libc.so.6 (0x00007f9d6d02b000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9d6d713000)