Problem with TSDK on linux
I run the following commands in accordance to Readme.md
$ cd ~/WORK/H20tSoft/dji_thermal_sdk_v1.3_20220517/utility/bin/ linux/release_x64
$ ls -l
total 948
-rwxr-xr-x 1 alobo alobo 80920 may 17 11:39 dji_ircm
-rwxr-xr-x 1 alobo alobo 89256 may 17 11:39 dji_irp
-rwxr-xr-x 1 alobo alobo 93392 may 17 11:39 dji_irp_omp
-rw-r--r-- 1 alobo alobo 89024 may 17 11:39 libdirp.so
-rw-r--r-- 1 alobo alobo 10184 may 17 11:39 libv_cirp.so
-rw-r--r-- 1 alobo alobo 191536 may 17 11:39 libv_dirp.so
-rw-r--r-- 1 alobo alobo 244160 may 17 11:38 libv_girp.so
-rw-r--r-- 1 alobo alobo 156992 may 17 11:38 libv_iirp.so
-rw-r--r-- 1 alobo alobo 407 may 17 11:38 libv_list.ini
$ ./dji_irp --help
./dji_irp: error while loading shared libraries: libdirp.so: cannot open shared object file: No such file or directory
$ export LD_LIBRARY_PATH=/usr/local/lib
$ ./dji_irp --help
./dji_irp: error while loading shared libraries: libdirp.so: cannot open shared object file: No such file or directory
any suggestion on what could be wrong?
Thanks
-
Solved. Actually, the correct setting for LD_LIBRARY_PATH must include the path to the TDSK libraries. In my case:
$ export LD_LIBRARY_PATH=/usr/local/lib:/home/alobo/WORK/H20tSoft/dji_thermal_sdk_v1.3_20220517/utility/bin/linux/release_x64
Then the following command works:
$ ./dji_irp --help
Please sign in to leave a comment.
Comments
1 comment