Forum Discussion
AOC compiler gives PATH errors
$ 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?
7 Replies
- FawazJ_Altera
Frequent Contributor
Hello,
Can you try this fix:
https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/solutions/rd09262005_664.html
Thanks
- WWP00
New Contributor
Tried that, didn't work. It seems like the "no versioning information" error might be key. /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?
- FawazJ_Altera
Frequent Contributor
may I know which OS version are you using?
Thanks
- WWP00
New Contributor
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.
- AOran1
New Contributor
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.