Forum Discussion

WWP00's avatar
WWP00
Icon for New Contributor rankNew Contributor
6 years ago

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

    • WWP00's avatar
      WWP00
      Icon for New Contributor rankNew 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?
      • WWP00's avatar
        WWP00
        Icon for New Contributor rankNew Contributor

        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's avatar
    WWP00
    Icon for New Contributor rankNew 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's avatar
      AOran1
      Icon for New Contributor rankNew 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.