$ LANG=C make -j5 voglperf32
cmake options:
-DCMAKE_BUILD_TYPE='Release': Build debug or release. (Debug|Release)
-DCMAKE_VERBOSE='OFF': Spew cmake project options. (On|Off)
-DBUILD_X64='False': Build 32 or 64-bit. (On|Off)
Building 32-bit voglperf...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/yuri/voglperf/build32
make[1]: Entering directory `/home/yuri/voglperf/build32'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
make[2]: Entering directory `/home/yuri/voglperf/build32'
make[3]: Entering directory `/home/yuri/voglperf/build32'
make[3]: Leaving directory `/home/yuri/voglperf/build32'
make[3]: Entering directory `/home/yuri/voglperf/build32'
Linking C shared library /home/yuri/voglperf/bin/libvoglperf32.so
/usr/lib64/libGL.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [/home/yuri/voglperf/bin/libvoglperf32.so] Error 1
make[3]: Leaving directory `/home/yuri/voglperf/build32'
make[2]: *** [CMakeFiles/voglperf.dir/all] Error 2
make[2]: Leaving directory `/home/yuri/voglperf/build32'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/yuri/voglperf/build32'
make: *** [voglperf32] Error 2
The cmake script seeks for libGL.so in a wrong directory: /usr/lib64 instead of /usr/lib. As a result, script uses lib with wrong arch and binary cannot be built.
The cmake script seeks for libGL.so in a wrong directory: /usr/lib64 instead of /usr/lib. As a result, script uses lib with wrong arch and binary cannot be built.