Test newer library with installed older one

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

 



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.

http://stackoverflow.com/questions/1168180/why-would-autoconf-automake-project-link-against-installed-library-instead-of-lothis
link seems the same problem.

WHY and HOW?

Thanks,
                                                      Changsheng Jiang
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux