Since I have been unable to build gnash for some reason or another, I was wondering if there were any other 64-bit multilib users using gnash. By multilib 64-bit users I mean users with 64-bit Linux systems with both versions of any given library (i386, 32-bit and x86_64, 64-bit). After much struggle and trying to build other programs like Quake 3 sources or some OpenGL demos, its been apparent that the configure script for gnash for some reason when configuring for a 64-bit system tries to link (the plugin) to the 32-bit
libGL.so spiting the error:
/usr/lib/libGL.so: could not read symbols: File in wrong format
when building libgnashplugin.so
I have the nvidia driver installed for both 32-bit and 64-bit. Here's the line for g++ when building
libgnashplugin.so:
If corrected the error in the above line, then there is apparently a problem for libz (-lz), and others which are again seeked for under /usr/lib instead of /usr/lib64:
/usr/bin/ld: skipping /usr/lib/libz.so incompatible while seeking -lz /usr/bin/ld: skipping /usr/lib/libz.a incompatible while seeking -lz /usr/bin/ld: skipping /usr/lib/librt.so incompatible while seeking -lrt
/usr/bin/ld: skipping /usr/lib/librt.a incompatible while seeking -lrt /usr/bin/ld: skipping /usr/lib/libm.so incompatible while seeking -lm /usr/bin/ld: skipping /usr/lib/libm.a incompatible while seeking -lm /usr/bin/ld: skipping /usr/lib/libc.so incompatible while seeking -lc
/usr/bin/ld: skipping /usr/lib/libc.a incompatible while seeking -lc
Anyone else having such problems? If the configure script can detect pkg-config, wouldn't it be better to use pkg-config instead for Linux systems to avoid all these issues? (just an idea, though)