[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 `Makefile.am' should do it.
>
> Cheers,
> Peter
Of the suggestions offered, this one worked in the following literal entry
into src/Makefile.am:
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
configure.ac.
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
- Troubles with proc*C and automake version 1.10, acprdoer, 2009/04/01
- Re: Troubles with proc*C and automake version 1.10, Ralf Wildenhues, 2009/04/01
- Re: Troubles with proc*C and automake version 1.10, acprdoer, 2009/04/02
- Finding library procedures in /usr/local/lib/, Gerald I. Evenden, 2009/04/02
- Re: Finding library procedures in /usr/local/lib/, Peter Johansson, 2009/04/02
- Re: Finding library procedures in /usr/local/lib/,
Gerald I. Evenden <=
- Re: Finding library procedures in /usr/local/lib/, John Calcote, 2009/04/03
- Re: Finding library procedures in /usr/local/lib/, Gerald I. Evenden, 2009/04/03
- Re: Finding library procedures in /usr/local/lib/, Gerald I. Evenden, 2009/04/03
- Re: Finding library procedures in /usr/local/lib/, Ralf Wildenhues, 2009/04/03
- Re: Finding library procedures in /usr/local/lib/, John Calcote, 2009/04/03
- Re: Finding library procedures in /usr/local/lib/, Peter Johansson, 2009/04/03
- Re: Finding library procedures in /usr/local/lib/, Gerald I. Evenden, 2009/04/03
Re: Finding library procedures in /usr/local/lib/, John Calcote, 2009/04/02
Re: Finding library procedures in /usr/local/lib/, John Calcote, 2009/04/02
Re: Finding library procedures in /usr/local/lib/, Jan Engelhardt, 2009/04/03