Hello, I’ve recently had to re-install my Windows 10, and this meant that my WSL for OpenSUSE LEAP 15.1 had to be re-installed as well.
I am quite familiar with cmake and installing many different versions of ROOT and right now I do have several systems running different version of ROOT in both full linux environment and WSL environment.
I downloaded the latest versions of ROOT5 and ROOT6 (July 2, 2020) and no problem in compilation.
Compilation flags are:
cmake -DCMAKE_INSTALL_PREFIX=$PWD -DGSL_DIR=/usr/local -Droofit=ON -Dpython3=OFF -Dminuit2=ON -Dmysql=OFF -Dxrootd=OFF -DPYTHON_EXECUTABLE=/usr/bin/python2 -Dgdml=ON -Dclad=OFF …/Downloads_old/root6source/
cmake -DCMAKE_INSTALL_PREFIX=$PWD/ -DGSL_DIR=/usr/local -Droofit=ON -Dpython3=OFF -Dminuit2=ON -Dmysql=OFF -Dxrootd=OFF -DPYTHON_EXECUTABLE=/usr/bin/python2 -Dgdml=ON …/Downloads_old/root5source/
Upon loading the root environments then execution I get an error:
“/usr/bin/ldd: line 160: /lib/ld-linux.so.2: cannot execute binary file: Exec format error”.
This is a bit crazy. I did compile it myself on the WSL. It has worked in every other WSL+full linux environments, and the compiler should have thrown an error at me if something was wrong. I’ve triple-checked dependencies (https://root.cern/install/dependencies/), and I am running on a x86_64 system and no problem in compilation.
both ld and ldd are accessible and versions are as seen below.
ldd (GNU libc) 2.26
GNU ld (GNU Binutils; openSUSE Leap 15.1) 126.96.36.19990909-lp151.3.6
I am out of ideas and have exhausted google search on this. Any ideas?