[racket-dev] build fail for 64-bit OS X af9bab74265
Have you changed anything about your installation via MacPorts lately?
I think you're seeing a mismatch between a MacPorts iconv and the
pre-installed iconv. See also
https://lists.racket-lang.org/dev/archive/2011-April/006153.html
At Mon, 13 Feb 2012 17:02:20 -0800, John Clements wrote:
> After axing and re-creating the src directory, I get this error while building
> racket on 64-bit Lion:
>
> a - src/rational.o
> a - src/read.o
> a - src/regexp.o
> a - src/resolve.o
> a - src/salloc.o
> a - src/sema.o
> a - src/setjmpup.o
> a - src/sfs.o
> a - src/string.o
> a - src/struct.o
> a - src/symbol.o
> a - src/syntax.o
> a - src/thread.o
> a - src/type.o
> a - src/unwind.o
> a - src/validate.o
> a - src/vector.o
> a - ../foreign/foreign.o
> ranlib libracket.a
> ranlib: file: libracket.a(unwind.o) has no symbols
> make racketcgc
> mkdir -p Racket.framework/Versions/5.2.1.5
> gcc -o Racket.framework/Versions/5.2.1.5/Racket -pthread -framework
> CoreFoundation -dynamiclib -all_load libracket.a libmzgc.a -ldl -lm -liconv
> -L/opt/local/lib -lffi
> Undefined symbols for architecture x86_64:
> "_iconv_close", referenced from:
> _close_converter in libracket.a(string.o)
> _scheme_close_converter in libracket.a(string.o)
> _do_convert in libracket.a(string.o)
> _byte_string_close_converter in libracket.a(string.o)
> _string_to_from_locale in libracket.a(string.o)
> "_iconv_open", referenced from:
> _do_convert in libracket.a(string.o)
> _string_to_from_locale in libracket.a(string.o)
> _scheme_open_converter in libracket.a(string.o)
> "_iconv", referenced from:
> _do_convert in libracket.a(string.o)
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
> make[4]: *** [Racket.framework/Versions/5.2.1.5/Racket] Error 1
> make[3]: *** [cgc] Error 2
> make[2]: *** [3m] Error 2
> make[1]: *** [3m] Error 2
> make: *** [all] Error 2
> device:~/plt/src/build clements$
>
> I conjecture that this is related to commit
> af927734079e823c566b0791ae440d8a6722b7d6 ?
>
> John
>
> ------------------------------------------------------------------------------
> [application/pkcs7-signature "smime.p7s"] [~/Desktop & open] [~/Temp & open]
> _________________________
> Racket Developers list:
> http://lists.racket-lang.org/dev