<div dir="ltr">Hi all,<div><br></div><div>I've run into a problem when building universal binaries for GDAL 1.11.1 on OS X 10.9.5. If I follow the instructions at </div><div><br></div><div>  <a href="https://trac.osgeo.org/gdal/wiki/BuildingOnMac">https://trac.osgeo.org/gdal/wiki/BuildingOnMac</a></div><div><br></div><div>and set </div><div><br></div><div>  CFLAGS="-arch i386 -arch x86_64" CXXFLAGS="-arch i386 -arch x86_64" LDFLAGS="-arch i386 -arch x86_64"</div><div><br></div><div>the software builds without any errors I can tell, but provides no vector formats:</div><div><br></div><div><div>  $ ./parts/gdal/bin/ogrinfo --formats</div><div>  Supported Formats:</div></div><div><br></div><div>Running gdalinfo --formats, on the other hand, gives me all the raster formats I expect.</div><div><br></div><div>My configure commands is below:</div><div><br></div><div>  $ ./configure --prefix=/Users/sean/code/frs-wheel-builds/parts/gdal ARCHFLAGS=-arch i386 -arch x86_64 CFLAGS=-arch i386 -arch x86_64 CXXFLAGS=-arch i386 -arch x86_64 LDFLAGS=-arch i386 -arch x86_64 --with-threads --disable-debug --disable-static --without-grass --without-libgrass --without-jpeg12 --with-jasper=/Users/sean/code/frs-wheel-builds/parts/jasper --with-libtiff=internal --with-jpeg --with-gif --with-png --with-geotiff=internal --with-sqlite3=/usr --with-pcraster=internal --with-pcraster=internal --with-pcidsk=internal --with-bsb --with-grib --with-pam --with-geos=/Users/sean/code/frs-wheel-builds/parts/geos/bin/geos-config --with-static-proj4=/Users/sean/code/frs-wheel-builds/parts/proj4 --with-expat=/usr --with-libjson-c=/Users/sean/code/frs-wheel-builds/parts/json-c --with-libiconv-prefix=/usr --with-libz=/usr --with-curl=/usr/bin/curl-config --without-python<br></div><div><br></div><div>If I rebuild, using the same configuration but omitting the -arch flags, ogrinfo --formats reports all the vector formats I expect.</div><div><br></div><div>I should add that MACOSX_DEPLOYMENT_TARGET=10.6 is set in the environment for all these builds. I'm doing that because I'm building GDAL to be used with C Extension modules for the Python from <a href="http://python.org">python.org</a> (which uses SDK version 10.6).</div><div><br></div><div>Here are the details on my gcc:</div><div><br></div><div><div>  gcc -v</div><div>  Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1</div><div>  Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)</div><div>  Target: x86_64-apple-darwin13.4.0</div><div>  Thread model: posix</div></div><div><br></div><div>Anybody run into this problem before or see something I'm obviously doing wrong?</div><div><br></div><div>Thanks,</div></div>