Thursday, February 26, 2009

Runtime linking errors under linux...

You may get errors at some point in linux that a library (usually ending in .so.0) cannot be found. But you may be able to see that is there, in /usr/local/lib for instance.

You just need to include the directory for linking:

ldconfig -n /usr/local/lib

Use ldd to see what libraries are linked by a program and whether they are correctly located or not.

No comments: