When creating deb package for your project you need to specify at DEBIAN/control
file at Depends:
field to what packages your project depends. To do that you can invoke follwing command on all binaries and libraries that you want to put into your package. This will help you fill in Depends:
field.
Before start you should install apt-file: # apt-get install apt-file
ldd $LIBRARY_PATH | awk '/=>/{print $1}' | \
while read n; do echo "=== $n maybe found at: ===" && apt-file search $n | \
awk '{print $1}' | sed 's/://' | sort; done | uniq