[Shapelib] Can't link to shapelib

Yasir Malik ymalik at cs.stevens-tech.edu
Fri Feb 18 16:21:12 PST 2005


Frank,
Much thanks for your comments.

> No, it should not have.  You successfully linked against the
> shared library but at runtime programs need to know where to
> look for the shared library file.  That is what LD_LIBRARY_PATH
> and ldconfig are for.

I've heard that setting LD_LIBRARY_PATH is bad, and that is why I 
asked for a ``better'' solution.  I still don't understand why it is bad.

Regards,
Yasir



More information about the Shapelib mailing list