you might try adding your library to your $PATH
The global paths are stored in /etc/profile file and user-specific paths (if user wants to add some specific path), are stored in .[user's shell](rc) file in the users home directory
(IE.......~/<user>/.bashrc)
Code:
export PATH=$PATH:/my/new/library