Closed barthm1 closed 4 years ago
As of version 2.3.0, TensorFlow uses the dynamic loader.
Therefore you have to include the libdl library to your build.
On a Raspberry Pi 64-OS the symlink is /lib/aarch64-linux-gnu/libdl.so.2
.
I will update the Code::Blocks project file asap.
Works
Updated Code::Blocks project file.
Im getting this same error - undefined reference to symbol 'dlsym@@GLIBC_2.17'|
Where and what do I need to update to fix this ?
i added-ldl
in linker options, still not working, same error
ls -al /lib/aarch64-linux-gnu/libdl.so.2
lrwxrwxrwx 1 root root 13 Dec 16 2020 /lib/aarch64-linux-gnu/libdl.so.2 -> libdl-2.31.so
I also added in other linked options :-
-ldl
`pkg-config --libs --cflags opencv4`
-pthread
Try adding the library with its full path: /lib/aarch64-linux-gnu/libdl.so
Get this error using Ubuntu 20 or RaspiOS 64
/usr/bin/ld: /root/tensorflow/tensorflow/lite/tools/make/gen/linux_aarch64/lib/libtensorflow-lite.a(interpreter_builder.o)||undefined reference to symbol 'dlsym@@GLIBC_2.17'|