Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20690 Discussions

AOC compiler gives PATH errors

WWP00
Beginner
1,462 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
WWP00
Beginner
1,004 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?
0 Kudos
Fawaz_Al-Jubori
Employee
1,004 Views

may I know which OS version are you using?

 

 

Thanks

0 Kudos
WWP00
Beginner
1,004 Views
0 Kudos
WWP00
Beginner
1,004 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.

0 Kudos
WWP00
Beginner
1,004 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.

 

0 Kudos
AOran1
Beginner
1,004 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.

0 Kudos
Reply