Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
Need Forum Guidance? Click here

Search our FPGA Knowledge Articles here.
19219 Discussions

AOC compiler gives PATH errors

WWP00
Beginner
707 Views

$ 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?

 

0 Kudos
7 Replies
Fawaz_J_Intel
Employee
249 Views
WWP00
Beginner
249 Views
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?
Fawaz_J_Intel
Employee
249 Views

may I know which OS version are you using?

 

 

Thanks

WWP00
Beginner
249 Views
WWP00
Beginner
249 Views

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.

WWP00
Beginner
249 Views

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
Beginner
249 Views

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.

Reply