I'm trying to compile PostGIS 1.5.3 and getting tripped up with 32 vs. 64 bit.  
Following the normal process,

        cd postgis-1.5.3
        ./configure
        make

compilation proceeds but the link fails.

        ld: warning: ignoring file ../liblwgeom/liblwgeom.a, file was built for 
archive which is not the architecture being linked (i386)

On the linking step, I noticed that the architecture flags specify both 32 and 
64 bit, i.e. "-arch x86_64 -arch i386", but can't figure out how to disable 32 
bit.  I've already rebuilt Proj.4 4.7.0 and GEOS 3.2.2 as hybrid 32+64 bit 
libraries.

Any suggestions to either disable 32-bit entirely for PostGIS or to get the 
makefiles to build liblwgeom as a hybrid?  Thanks much.

-=- Jerry

 P.S. I am using GCC version 'i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1' 
which is shipped with Xcode 4.2.
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to