On Mon, 06 Feb 2012 16:31:40 +0000, Iain Buclaw wrote: >> > For Ubuntu and Debian, being that i386 and x86_64 (possibly others) are > multi-arch systems, you may need to set-up LIBRARY_PATH and CPATH. > > In ~/.bashrc: > > LIBRARY_PATH=/usr/lib/i386-linux-gnu > CPATH=/usr/include/i386-linux-gnu > export LIBRARY_PATH CPATH > > > I have said this at least a dozen times, this must be documented > somewhere... :)
That does the trick, but to avoid confusion, if you have already got into trouble it is best to remove objdir, close your terminal window, and start again from the point where objdir is created. Thanks ever so Steve