This happens during installation, but the previous versions used to work:
Creating directory Sen2Cor-02.11.00-Linux64
Verifying archive integrity... All good.
Uncompressing SEN2COR 02.11.00 100%
Configuring...
./pkgsetup: line 46: 751283 Segmentation fault (core dumped) "$INTERPRETER" "$PATCHELF_EXE" "--set-rpath" "$OUT_DIR/lib" "$lib_file" > /dev/null 2>&1
./pkgsetup: line 46: 751361 Segmentation fault (core dumped) "$INTERPRETER" "$PATCHELF_EXE" "--set-rpath" "$OUT_DIR/lib" "$lib_file" > /dev/null 2>&1
file: Relink `~/Downloads/Sen2Cor-02.11.00-Linux64/lib/libz.so.1' with `/usr/lib/libc.so.6' for IFUNC symbol `memchr'
find: āfileā terminated by signal 11
file: Relink `~/Downloads/Sen2Cor-02.11.00-Linux64/lib/libz.so.1' with `/usr/lib/libc.so.6' for IFUNC symbol `memchr'
find: āfileā terminated by signal 11
file: Relink `~/Downloads/Sen2Cor-02.11.00-Linux64/lib/libz.so.1' with `/usr/lib/libc.so.6' for IFUNC symbol `memchr'
find: āfileā terminated by signal 11
file: Relink `~/Downloads/Sen2Cor-02.11.00-Linux64/lib/libz.so.1' with `/usr/lib/libc.so.6' for IFUNC symbol `memchr'
find: āfileā terminated by signal 11
file: Relink `~/Downloads/Sen2Cor-02.11.00-Linux64/lib/libz.so.1' with `/usr/lib/libc.so.6' for IFUNC symbol `memchr'
find: āfileā terminated by signal 11
file: Relink `~/Downloads/Sen2Cor-02.11.00-Linux64/lib/libz.so.1' with `/usr/lib/libc.so.6' for IFUNC symbol `memchr'
find: āfileā terminated by signal 11
file: Relink `~/Downloads/Sen2Cor-02.11.00-Linux64/lib/libz.so.1' with `/usr/lib/libc.so.6' for IFUNC symbol `memchr'
find: āfileā terminated by signal 11
file: Relink `~/Downloads/Sen2Cor-02.11.00-Linux64/lib/libz.so.1' with `/usr/lib/libc.so.6' for IFUNC symbol `memchr'
find: āfileā terminated by signal 11
file: Relink `~/Downloads/Sen2Cor-02.11.00-Linux64/lib/libz.so.1' with `/usr/lib/libc.so.6' for IFUNC symbol `memchr'
find: āfileā terminated by signal 11
copying ~/Downloads/Sen2Cor-02.11.00-Linux64/lib/python2.7/site-packages/sen2cor/cfg/L2A_GIPP.xml to ~/sen2cor/2.11/cfg/L2A_GIPP.xml!
Congratulations, Installation successful...
On one of the systems I tried, this might be only a cosmetic issue and at least the binary can display the usage instructions. But on others, it doesnāt even run:
$ Sen2Cor-02.11.00-Linux64/bin/L2A_Process
Sen2Cor-02.11.00-Linux64/bin/L2A_Process: line 5: Sen2Cor-02.11.00-Linux64/bin/python2.7: No such file or directory
$ Sen2Cor-02.11.00-Linux64/bin/python2.7
exec: Failed to execute process 'Sen2Cor-02.11.00-Linux64/bin/python2.7': The file exists and is executable. Check the interpreter or linker?
$ lddtree Sen2Cor-02.11.00-Linux64/bin/python2.7
Sen2Cor-02.11.00-Linux64/bin/python2.7 (interpreter => /lib/ld-musl-x86_64.so.1)
libpython2.7.so.1.0 => Sen2Cor-02.11.00-Linux64/lib/libpython2.7.so.1.0
libc.musl-x86_64.so.1 => Sen2Cor-02.11.00-Linux64/lib/libc.musl-x86_64.so.1
Sen2Cor 2.10.01 works fine on the same machine:
$ Sen2Cor-02.10.01-Linux64/bin/L2A_Process
usage: L2A_Process.py [-h] [--mode MODE] [--resolution {10,20,60}]
[--datastrip DATASTRIP] [--tile TILE]
[--output_dir OUTPUT_DIR] [--work_dir WORK_DIR]
[--img_database_dir IMG_DATABASE_DIR]
[--res_database_dir RES_DATABASE_DIR]
[--processing_centre PROCESSING_CENTRE]
[--archiving_centre ARCHIVING_CENTRE]
[--processing_baseline PROCESSING_BASELINE] [--raw]
[--tif] [--sc_only] [--sc_classic] [--sc_cog]
[--cr_only] [--debug] [--GIP_L2A GIP_L2A]
[--GIP_L2A_SC GIP_L2A_SC] [--GIP_L2A_AC GIP_L2A_AC]
[--GIP_L2A_PB GIP_L2A_PB]
input_dir
L2A_Process.py: error: too few arguments
$ lddtree Sen2Cor-02.10.01-Linux64/bin/python2.7
Sen2Cor-02.10.01-Linux64/bin/python2.7 (interpreter => Sen2Cor-02.10.01-Linux64/lib/ld-musl-x86_64.so.1)
libpython2.7.so.1.0 => Sen2Cor-02.10.01-Linux64/lib/libpython2.7.so.1.0
libc.musl-x86_64.so.1 => Sen2Cor-02.10.01-Linux64/lib/libc.musl-x86_64.so.1
Tested on Ubuntu 22.04 and Arch Linux. Unfortunately, I canāt spend much more time on this right now.