Problems compiling LWJGL on Centos 5.2 AMD64

Started by alanmech, November 30, 2009, 16:29:06

Previous topic - Next topic

alanmech

The default Linux binaries appear to require GLIB_2.7 which is not supported by Centos 5.2.

I downloaded the distribution sources and attempted to compile which failed because of a dependency on some Apple stuff. I checked the forum and someone else encountered this and downloaded the latest SVN version. I downloaded the LWJGL tarball from the sources page and that got further but seems to be stuck as below:
compile64:
    [apply] /usr/bin/ld: cannot find -lXxf86vm
    [apply] collect2: ld returned 1 exit status

BUILD FAILED
../lib/LWJGL/build.xml:275: The following error occurred while executing this line:
../lib/LWJGL/build.xml:298: The following error occurred while executing this line:
../lib/LWJGL/platform_build/linux_ant/build.xml:63: The following error occurred while executing this line:
../lib/LWJGL/platform_build/linux_ant/build.xml:108: apply returned: 1




However, libXxf86vm is installed and the appropriate so is in the same folder as all the other libraries.
I added an explicit LD_LIBRARY_PATH to the environment but that didn't seem to make any difference.

I tried explicitly loading the library using /usr/bin/ld and that seemed to work, so I'm stuck.

Does anyone have any suggestions?

TIA

Alan Chaney