[erlang-questions] compiling problems under OS X Lion
Mon Jul 25 02:54:58 CEST 2011
On Mon, Jul 25, 2011 at 4:30 AM, Jason Bosco <jason.bosco@REDACTED> wrote:
> This didn't work for me. I tried CFLAGS=-O0 ./configure --enable-darwin-64bit and then make but it stopped with this error:
> ld: warning: ignoring file /Users/abcd/Downloads/otp_src_R14B03/erts/emulator/zlib/obj/i386-apple-darwin11.0.0/opt/libz.a, file was built for archive which is not the architecture being linked (x86_64) ld: warning: ignoring file /Users/abcd/Downloads/otp_src_R14B03/erts/emulator/pcre/obj/i386-apple-darwin11.0.0/opt/libepcre.a, file was built for archive which is not the architecture being linked (x86_64) Undefined symbols for architecture x86_64:...
> Any ideas?
I don't know but I was able to build by using Xcode (4.1) and that
command on Lion. Actually I wanted SSL so I added --with-ssl. Did you
try building before you added those flags? You might need to clean out
the source directory first.
More information about the erlang-questions