I meet such an error complaint when I was trying to run the host program under the command line:
"error while loading shared libraries: libxilinxopencl.so.2: cannot open shared object file: No such file or directory",
I have no problem when running the program in the IDE.
I am using Vitis 2020.1
Searched around one old AR (AR72308 https://www.xilinx.com/support/answers/72308.html) mentioned the similar issue, suggest to export the /usr/lib/x86_64-linux-gnu/ to the LD_LIBRARY_PATH --which I already did (due to AR73698).
Is there any other suggestion?
Thanks a lot!