Compile error on Mac OS X 10.6

Herman Chan <>
Sun Nov 22 05:12:18 CET 2009

Hi all,

I am new to Erlang and trying to compile from source in mac os x.  I
tried to compiled with ./configure --enable-threads
--enable-smp-support --enable-kernel-poll, but got the following

Ignoring the --cache-file argument since it can cause the system to be
erroneously configured
Disabling caching
checking build system type... i386-apple-darwin10.0.0
checking host system type... i386-apple-darwin10.0.0
checking for gcc... gcc
checking for C compiler default output file name... configure: error:
C compiler cannot create executables
See `config.log' for more details.

Looking at config.log, it seems like the problem is in this line.

configure:1771: gcc    conftest.c  >&5
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status

Has anyone got this error before?  Any help is appreciated.

More information about the erlang-questions mailing list