setup for python on ubuntu 18.04 is not work
- Set the rpath in the wrapper library
For this we need patchelf:
git clone https://github.com/NixOS/patchelf
cd patchelf
./bootstrap.sh
./configure
make
sudo make install
To set the rpath in the wrapper library:
patchelf --set-rpath /usr/lib /usr/lib/python2.7/lib-dynload/_sqlite3.so
To check if it was successful:
objdump -p /usr/lib/python2.7/lib-dynload/_sqlite3.so | grep RPATH