Hello Gerald,

Gerald I. Evenden wrote:
After trying so many options related to libraries I am exhausted.

I have a simple program that needs to link with a shared library installed in /usr/local/lib.

When using my own simple Makefile and simply adding "-lproject -lm" everything works fine (libproject is the shared library).

LDADD = "-lm -lproject"

in your `Makefile.am' should do it.

Cheers,
Peter

--
Peter Johansson

svndigest maintainer, http://dev.thep.lu.se/svndigest
yat maintainer,       http://dev.thep.lu.se/yat



Reply via email to