aliBuild O2 fails at Building ROOT@v6-20-02-alice7

Dear O2 experts,

I am having problems with compiling O2 with command aliBuild build O2 --defaults o2-dataflow --always-prefer-system

Please find the log uploaded here:

Some error messages in the log file:

[ 44%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAtt3D.cxx.o
/usr/lib/ error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
gmake[2]: *** [graf3d/glew/CMakeFiles/GLEW.dir/build.make:106: lib/] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:24203: graf3d/glew/CMakeFiles/GLEW.dir/all] Error 2

ANy input or suggestion on how to fix this are appreciated.

Thanks in advance,

For anyone who is facing the same problem:

What I did was that I removed /usr/lib/libGLX*, and then this issue does not appear anymore.