[postgis-users] OSX Server (Lion) linking failures on i386 architecture
woklist at kyngchaos.com
Wed Sep 14 09:57:29 PDT 2011
• See my postgis build instructions.
The Snow Leopard instructions should work for Lion.
• I have ready-made packages for Postgres and PostGIS.
On Sep 14, 2011, at 11:16 AM, Jerry Carter wrote:
> 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
> 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
> postgis-users at postgis.refractions.net
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
Theory of the Universe
There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened.
-Hitchhiker's Guide to the Galaxy 2nd season intro
More information about the postgis-users