[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding library procedures in /usr/local/lib/

From: Gerald I. Evenden
Subject: Re: Finding library procedures in /usr/local/lib/
Date: Fri, 3 Apr 2009 10:49:58 -0400
User-agent: KMail/1.9.10

On Thursday 02 April 2009 5:56:52 pm Peter Johansson wrote:
> 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 `' should do it.
> Cheers,
> Peter

Of the suggestions offered, this one worked in the following literal entry 
into src/

geodesic_LDADD = -lproject -lm

Ordering may not make any difference but I am too tired of the problem to 
check.  :-(

Many thanks.

PS: I always seem to have trouble with the *_CHECK_*  and *_SEARCH_* of

Again, many thanks.

The whole religious complexion of the modern world is due
to the absence from Jerusalem of a lunatic asylum.
-- Havelock Ellis (1859-1939) British psychologist

reply via email to

[Prev in Thread] Current Thread [Next in Thread]