I'm trying to create a .deb installer which saves the binary in the /usr/bin directory, and the external files in the /usr/lib/ directory. The installer works, except the binary is looks for files in the same directory, which of course are not there.
The binary and library files were created with PyInstaller, and packaged with dpkg. I'm not sure if there is a function in PyInstaller that can look for external files (not as far as I can tell), or is this something that can be done in dpkg.
Would a symbolic link work, keeping the actual binary in the same directory as the external files?