[Top][All Lists]

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

Re: Test newer library with installed older one

From: address@hidden
Subject: Re: Test newer library with installed older one
Date: Wed, 23 May 2012 17:34:32 +0800

Because automake cat AM_LDFLAGS before LDADD, so just add the
$(top_builddir)/src/ in LDADD) as the first resolve the

                                                      Changsheng Jiang

On Wed, May 23, 2012 at 4:41 PM, address@hidden <
address@hidden> wrote:

> Hi list,
> I have a library project with tests. the test programs run fine when the
> library is not installed. but if the library is installed, and after some
> new interfaces added to the library, the make of test programs run well,
> but running reports the new interfaces not found, as ldd indicating that
> the installed library is used in run.
> In short, newest not installed library used in compling and linking, but
> installed older library used in running.
>  link seems the same problem.
> WHY and HOW?
> Thanks,
>                                                       Changsheng Jiang

reply via email to

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