Install chrpath by entering the following commands in the terminal:
sudo apt update sudo apt install chrpath
Tool to edit the rpath in ELF binaries
chrpath allows you to change the rpath (where the application looks for libraries) in an application. It does not (yet) allow you to add an rpath if there isn't one already.