This seems to have been a problem with libiconv 1.13 provided by
MacPorts. Manually installed 1.13.1 and got further.

On Sat, Oct 17, 2009 at 11:15 PM, Daniel Markstedt <markst...@gmail.com> wrote:
> I'm getting linking errors trying to build S2_1, S2_2 and trunk on my
> MacBook. Final lines:
>
> libtool: link: gcc -Wall -Wpointer-arith -Wcast-align
> -Wmissing-prototypes -Wmissing-declarations -g -O2 -o freeciv-gtk2
> dummy.o  ./.libs/libfcgui-gtk2.a -lz ../common/.libs/libfreeciv.a -lz
> -liconv -lz -L/opt/local/lib /opt/local/lib/libgtk-x11-2.0.dylib -lz
> -lz /opt/local/lib/libgdk-x11-2.0.dylib -lz -lz
> /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib
> /opt/local/lib/libpangocairo-1.0.dylib -lz -lz
> /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libXinerama.dylib
> /opt/local/lib/libXi.dylib /opt/local/lib/libXrandr.dylib
> /opt/local/lib/libXcursor.dylib /opt/local/lib/libXcomposite.dylib
> /opt/local/lib/libXdamage.dylib /opt/local/lib/libpangoft2-1.0.dylib
> -lz -lz /opt/local/lib/libXext.dylib /opt/local/lib/libXfixes.dylib
> /opt/local/lib/libcairo.dylib -lz -lz /opt/local/lib/libpixman-1.dylib
> /opt/local/lib/libpng12.dylib -lz -lz /opt/local/lib/libXrender.dylib
> /opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib
> /opt/local/lib/libXdmcp.dylib /opt/local/lib/libpango-1.0.dylib -lm
> /opt/local/lib/libfontconfig.dylib -lz -lz
> /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz -lz
> -lz /opt/local/lib/libgobject-2.0.dylib
> /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib
> -lresolv /opt/local/lib/libintl.dylib -lc -lbz2 -lz
> /opt/local/lib/libiconv.dylib -framework Carbon
> Undefined symbols:
>  "_iconv_close", referenced from:
>      _convert_string in libfreeciv.a(fciconv.o)
>      _convert_string in libfreeciv.a(fciconv.o)
>  "_iconv_open", referenced from:
>      _convert_string in libfreeciv.a(fciconv.o)
>  "_iconv", referenced from:
>      _convert_string in libfreeciv.a(fciconv.o)
>      _convert_string in libfreeciv.a(fciconv.o)
>  "_locale_charset", referenced from:
>      _init_character_encodings in libfreeciv.a(fciconv.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[3]: *** [freeciv-gtk2] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
>
>
> This is the first time I'm trying to build Freeciv on this machine
> (running OS X 10.6.1) so I cannot say for sure whether it's a problem
> with my environment or something else.
>
> Any ideas?
>
> Daniel
>

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to