Sunday, May 6, 2007

linking to libraries

sometimes I install packages from outside debian (such as volpack needed
by amide a medical image display program).

How to get the libraries to be seen by the linker? they are in usual place
So idea is
Check your /etc/ file, and make sure /usr/local/lib is in it. If
it's not, add it, and rerun /sbin/ldconfig.

Yay! no more setting
export LD_LIBRARY_PATH=/usr/local/lib

No comments: