On Fri, 1 May 2009, Berend Hasselman wrote:
 In trying to get rid of DYLD_LIBRARY_PATH, I encountered something
 else which I don't understand.
 I have the gfortran compiler from the R MAC OS X project installed.
 It installs all its library  stuff in /usr/local/lib including a
 libgcc_s-1.dylib
 The configure process of Gretl seems to include /usr/local/lib at the
 head of a library search list.
 This led to all libraries and executables using /usr/local/lib/
 libgcc_s-1.dylib instead of simply the standard C /usr/lib/
 libgcc_s-1.dylib... 
Ah, lib/Makefile.in had a hard coded "-L/usr/local/lib" that
really shouldn't be there.  I've now removed it.
Allin.