On 08/07/2012 01:20 PM, Inge Henriksen wrote:
> configure:17727: checking size of int
> configure:18032: g++ -o conftest -g -O2 conftest.cpp -lodbc -lpthread >&5
> configure:18036: $? = 0
> configure:18042: ./conftest
> ./conftest: error while loading shared libraries: libodbc.so.2: cannot open
eblake wrote:
>
> On 08/07/2012 12:20 PM, Inge Henriksen wrote:
> ...
>> Any ideas why AC_CHECK_SIZEOF returns 0 on CentOS?
>
> Not without seeing the config.log snippets corresponding to those tests
> getting the wrong results.
> ...
> --
> Eric Blake ebl...@redhat.com+1-919-301-3266
>
On 08/07/2012 12:20 PM, Inge Henriksen wrote:
>
> I use GNU Autoconf 2.63 on CentoOS 6.3 32-bit. In my configure script I check
> the sizes of some types, like:
>
> AC_CHECK_SIZEOF(char)
> AC_CHECK_SIZEOF(int)
> AC_CHECK_SIZEOF(long)
> , but the result is always 0 when running ./configure:
>
> c
of long... 0
The same configurations run fine on Mac OS X SL and Ubuntu though.
Any ideas why AC_CHECK_SIZEOF returns 0 on CentOS?
--
View this message in context:
http://old.nabble.com/Autoconf-AC_CHECK_SIZEOF-always-0-on-CentOS-tp34267681p34267681.html
Sent from the Gnu - Autoconf - Bugs