Error details
patchelf
It is a small tool for modifying dynamic libraries and executable programs in elf format. It can modify the library name of the dynamic link library and the RPATH of the link library. When it is not installed patchelf
, Paddle Lite's .so prediction library cannot be linked, so an error will be reported.
Solution
Just install the patchelf
tools here .
sudo apt-get install patchelf
For compilation and deployment, please refer to my other blogs:
- Paddle-Lite-Deploy Paddle model based on python API on Raspberry Pi 4B (Raspi OS)
- Paddle-Lite-compile the source code on the Raspberry Pi 4B (Ubuntu 18.04) and deploy the Paddle model based on the python API