how to link program that needs .so library from /usr/pkg/lib (readline that case) so it will know this directory runtime? when i do cc -o program program.o -L/usr/pkg/lib -lreadline -lcurses it then needs to be run with LD_LIBRARY_PATH=/usr/pkg/lib ./program