On 9/27/2011 1:44 AM, Iain Buclaw wrote:
For Debian/Ubuntu, you also need to consider that they've been experimenting
with
multiarch system for 32 and 64bit, which requires special patches to GCC so that
it can find the correct locations of headers, libraries, etc.
If you are using a vanilla GCC tarball to build, it may help if you put the
following in your .bashrc
LIBRARY_PATH=/usr/lib/i386-linux-gnu
CPATH=/usr/include/i386-linux-gnu
export LIBRARY_PATH CPATH
Thanks. I ended up figuring out the same thing almost simultaneously.
I solved it slightly differently by adding a few symlinks for important
files to my /usr/lib and /usr/include/gnu directories.