Re: library search test fails, please help

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

 



On Sun, 22 Feb 2009, aaragon wrote:
After installation of the library, I get:

aaragon@aaragon-laptop:~/Lib/lib$ ls
libcpputils.la  libcpputils.so  libcpputils.so.0  libcpputils.so.0.0.0

Now I go to the other project (that uses this library), and again I try to
use the macros AC_SEARCH_LIBS([flip], [cpputils],,[AC_MSG_ERROR(library
cpputils not found)]) and  AC_CHECK_LIB([cpputils],
[flip],,[AC_MSG_ERROR(library cpputils not found)],,)

They both failed again and I have no clue why this time, since these macros
are supposed to work for shared libraries.

The macros should work with both static and shared libraries. However, they do depend on your compiler and linker working with the arguments which are provided to them. Apparently they are not. The clue to the cause of the failure should be in the config.log file.

Bob
--
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://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