Re: AC_CHECK_HEADERS works but AC_SEARCH_LIBS does not

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

 



Sam Steingold wrote:

> checking for pari/pari.h... yes
> ...
> configure:2970: gcc -o conftest.exe -g -O2   conftest.c -lpari   >&5
> /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lpari
> collect2: ld returned 1 exit status

On many platforms, gcc by default adds /usr/local/include to the includes
search path but not /usr/local/lib to the libraries search path. I consider
this a bug in gcc. On other platforms, these search paths are fixed by
the gcc port maintainers.

There is/was a similar problem also for the $prefix/include and $prefix/lib
directories, where prefix is the one where gcc itself is installed. I don't
know whether this is fixed now.

> libpari.dll -> libpari-2.2.dll

Apparently the cygwin maintainers haven't been paying attention to this
problem.

Bruno



_______________________________________________
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