voxl-dfs-server failing to run
-
I installed the latest voxl-suite and system image 3.3, and I noticed that voxl-dfs-server is failing to run. I'm getting the following output:
yocto:/# opkg list-installed | grep opencl opencl - 0.0.2 yocto:/# systemctl status voxl-dfs-server -l ā voxl-dfs-server.service - voxl-dfs-server Loaded: loaded (/usr/bin/voxl-dfs-server; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 1970-01-01 00:00:07 UTC; 51 years 9 months ago Process: 2114 ExecStart=/usr/bin/voxl-dfs-server (code=exited, status=127) Main PID: 2114 (code=exited, status=127) Jan 01 00:00:07 apq8096 systemd[1]: Started voxl-dfs-server. Jan 01 00:00:07 apq8096 systemd[1]: voxl-dfs-server.service: Main process exited, code=exited, status=127/n/a Jan 01 00:00:07 apq8096 systemd[1]: voxl-dfs-server.service: Unit entered failed state. Jan 01 00:00:07 apq8096 systemd[1]: voxl-dfs-server.service: Failed with result 'exit-code'. Jan 01 00:00:08 apq8096 voxl-dfs-server[2114]: /usr/bin/voxl-dfs-server: error while loading shared libraries: libOpenCL.so: cannot open shared object file: No such file or directory yocto:/#
any thoughts as to what could be the problem?
Thanks
-
Hi Lynn,
That should be built in to system image 3.3 and shouldn't show up in opkg. Can you paste the output of
voxl-version
to make sure everything is set up properly. Additionally, you can check if the libraries exist manually in /usr/lib or /usr/lib64 by running:yocto:/usr$ find | grep -i opencl ./include/CL/opencl.h ./include/adreno/CL/opencl.h ./include/opencv4/opencv2/core/opencl ./include/opencv4/opencv2/core/opencl/opencl_info.hpp ./include/opencv4/opencv2/core/opencl/ocl_defs.hpp ./include/opencv4/opencv2/core/opencl/opencl_svm.hpp ./include/opencv4/opencv2/core/opencl/runtime ./include/opencv4/opencv2/core/opencl/runtime/opencl_clamdblas.hpp ./include/opencv4/opencv2/core/opencl/runtime/opencl_svm_definitions.hpp ./include/opencv4/opencv2/core/opencl/runtime/opencl_svm_hsa_extension.hpp ./include/opencv4/opencv2/core/opencl/runtime/opencl_svm_20.hpp ./include/opencv4/opencv2/core/opencl/runtime/opencl_clamdfft.hpp ./include/opencv4/opencv2/core/opencl/runtime/opencl_gl.hpp ./include/opencv4/opencv2/core/opencl/runtime/opencl_core.hpp ./include/opencv4/opencv2/core/opencl/runtime/opencl_core_wrappers.hpp ./include/opencv4/opencv2/core/opencl/runtime/opencl_gl_wrappers.hpp ./include/opencv4/opencv2/core/opencl/runtime/autogenerated ./include/opencv4/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp ./include/opencv4/opencv2/core/opencl/runtime/autogenerated/opencl_clamdfft.hpp ./include/opencv4/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp ./include/opencv4/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp ./include/opencv4/opencv2/core/opencl/runtime/autogenerated/opencl_core_wrappers.hpp ./include/opencv4/opencv2/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp ./include/tensorflow-2-2-3/tensorflow/lite/delegates/gpu/cl/opencl_wrapper.h ./lib/libOpenCL.so ./lib64/libOpenCL.so ./share/cmake-3.3/Help/module/FindOpenCL.rst ./share/cmake-3.3/Modules/FindOpenCL.cmake ./share/licenses/opencv4/opencl-headers-LICENSE.txt yocto:/usr$
-
Seemed like a weird fluke... I reinstalled the system image + voxl suite this time from the install script, then removed the packages individually and reinstalled my built versions, and it worked...
Thank you though!
Lynn