Hi,<br><br>I'm trying to compile PostGIS in Snow Leopard using KyngChaos Frameworks (UnixImageIO, PROJ and GEOS frameworks. See <a href="http://www.kyngchaos.com/macosx/build/index">http://www.kyngchaos.com/macosx/build/index</a>). I've successfully compiled GDAL using those frameworks, plus expat (<a href="http://www.kyngchaos.com/macosx/build/expat">http://www.kyngchaos.com/macosx/build/expat</a>). Instructions are here <a href="http://trac.osgeo.org/gdal/wiki/BuildingOnMac">http://trac.osgeo.org/gdal/wiki/BuildingOnMac</a><br>
<br>Now I get errors when trying to compile PostGIS on Mac. The configure line used is:<br><br>./configure --with-pgconfig=/Library/PostgreSQL/9.1/bin/pg_config --mandir=/usr/local/pgsql/man --with-geosconfig=/Library/Frameworks/GEOS.framework/unix/bin/geos-config --with-projdir=/Library/Frameworks/PROJ.framework/unix --with-gdalconfig=/Library/Frameworks/GDAL.framework/unix/bin/gdal-config<br>
<br>And the configure output is here (correct): <a href="http://dl.dropbox.com/u/61566717/output/configure_output.log">http://dl.dropbox.com/u/61566717/output/configure_output.log</a><br><br>When I execute make, I get this error: "Undefined symbols for architecture i386:", followed by some lwgeom functions. Looks like those functions are not linked, because they're not found. I got a similar error compiling GDAL, but I fixed it by specifying "--without-libtool" in configure time. I can't do the same with PostGIS. <br>
<br>Things I've tried:<br>- Specify "--disable-libtool-lock" in configure time. Not working.<br>- Specify "--without-raster" in configure time. The error raises when trying to build librtcore.a. Not working. Same error, but when trying to build the pgsql2shp loader.<br>
 <br clear="all">Here, the complete make output: <a href="http://dl.dropbox.com/u/61566717/output/make_output.log">http://dl.dropbox.com/u/61566717/output/make_output.log</a><br><br>Any clues?<br><br>Many thanks in advance.<br>
<br>Best regards,<br>-- <br>Jorge Arevalo<br>
<a href="http://www.libregis.org" target="_blank">http://www.libregis.org</a><br>