error MSB3073 exited with code -1
Fresh install on Ubuntu 20.04.
I also reinstall Ubuntu 20.04 and have the same error.

rm -f librandomarq.so
  g++   -shared -pthread -L. -Wl,-whole-archive librandomx.a -Wl,-no-whole-archive -o librandomarq.so  -lstdc++ -lgcc -lc
/home/XXXXXXXX/miningcore/src/Miningcore/Miningcore.csproj(123,9): error MSB3073: The command "(cd /home/XXXXXXXX/miningcore/src/Miningcore/ && sh build-libs-linux.sh bin/Release/net6.0/)" exited with code -1.

