On 21 October 2012 21:31, Brad Lanam <brad.lanam.c...@-nospam-gmail.com> wrote: > On Saturday, 20 October 2012 at 05:37:20 UTC, H. S. Teoh wrote: >> >> configure: error: Link tests are not allowed after >> GCC_NO_EXECUTABLES. > > > Had this problem many, many times... > IIRC I think this is the piece you need, which isn't documented well. > > if [[ $(uname -m) == "x86_64" ]]; then > export LD_LIBRARY_PATH=/lib/i386-linux-gnu/ > export CPATH=/usr/include/i386-linux-gnu > fi >
LD_LIBRARY_PATH / CPATH should be x86_64-linux-gnu on x86_64 systems, not i386. -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';