Altera_Forum
Honored Contributor
8 years agoerror loading shared libraries: libaltera_s5_ref_mmd.so: cannot open shared obj
"Emulation Error : ./host: error while loading shared libraries: libaltera_s5_ref_mmd.so: cannot open shared object file: No such file or directory"
I am trying to emulate an openCL design implemented for Cyclone V SoC (Terasic board) I have compiled hardware kernel.aocx in emulator mode : "aoc -march=emulator device/vector_add.cl -o bin/vector_add.aocx" I have generated x86 executable for the host by make command for Make file : https://www.altera.com/support/support-resources/design-examples/design-software/opencl/vector-addition.html but when i try to execute the host " CL_CONTEXT_EMULATOR_DEVICE_ALTERA=1 ./host" , the following error is seen , how to solve this ? ./host: error while loading shared libraries: libaltera_s5_ref_mmd.so: cannot open shared object file: no such file or directory"FYI: the environment variables set are export QUARTUS_ROOTDIR=/eda/altera/quartus_16.1_standard/quartus export ALTERAOCLSDKROOT=/eda/intel/16.1/hld export AOCL_BOARD_PACKAGE_ROOT=/eda/altera/quartus_16.1_standard/hld/board/terasic/de1soc# export LD_LIBRARY_PATH=/eda/intel/16.1/hld/board/s5_ref/linux64/lib export LD_LIBRARY_PATH=/eda/altera/quartus_16.1_standard/hld/host/linux64/lib