$ aoc -march=emulator-v -board=s10gx kernel.cl -o kernel.aocx
/home/daniel/software/intelFPGA_pro/19.1/hld/linux64/bin/../../llvm/bin/aocl-llc: /home/daniel/software/intelFPGA_pro/19.1/quartus/linux64/liblzma.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libxml2.so.2)
quartus_sh: error while loading shared libraries: libedit.so.0: cannot open shared object file: No such file or directory
aoc: Quartus is not on the path!
aoc: Is it installed on your system and quartus bin directory added to PATH environment variable?
Just following up - we still haven't gotten this working. We'd like to use Intel instead of Xilinx, but not being able to use the tools makes that hard...so any help would be greatly appreciated.
This is now resolved. We hand to compile from source all the dependencies it was complaining about (liblzma, libedit, libpython3), install them to /usr/local, and add /usr/local/lib to LD_LIBRARY_PATH ahead of everything else.
In case you're looking for a bit simpler solution:
I'm not sure about liblzma but libedit and libpython3 are just installed with the wrong permissions by intel (apparently they don't know what they're doing). Try doing this:
chmod o+rX <path where quartus is installed>/quartus/linux64/*
That should solve at least your libedit and libpython3 issues.