[postgis-users] geos 3.3.0 installing problem on Lion

Mr. Puneet Kishor punk.kish at gmail.com
Mon Aug 1 14:19:55 PDT 2011


On Aug 2, 2011, at 7:00 AM, Howard Butler wrote:

> 
> On Aug 1, 2011, at 3:54 PM, Mr. Puneet Kishor wrote:
> 
>> 	Undefined symbols for architecture x86_64:
>> 		"__ZNSt8auto_ptrIN4geos4geom8EnvelopeEEcvSt12auto_ptr_refIT_EIS2_EEv", referenced from:
>>     		virtual thunk to geos::geom::GeometryCollection::computeEnvelopeInternal() constin GeometryCollection.o
>> 		"std::auto_ptr<geos::geom::Envelope>::auto_ptr(std::auto_ptr_ref<geos::geom::Envelope>)", referenced from:
>>     		virtual thunk to geos::geom::GeometryCollection::computeEnvelopeInternal() constin GeometryCollection.o
>> 	ld: symbol(s) not found for architecture x86_64
>> 	collect2: ld returned 1 exit status
>> 	make[2]: *** [libgeos.la] Error 1
>> 	make[1]: *** [all-recursive] Error 1
>> 	make: *** [all-recursive] Error 1
>> 
>> 
>> hmmmm....
>> 
>> 	punkish at Lucknow ~/Projects/geos-3.3.0$sw_vers
>> 	ProductName:	Mac OS X
>> 	ProductVersion:	10.7
>> 	BuildVersion:	11A2063
>> 	punkish at Lucknow ~/Projects/geos-3.3.0$arch
>> 	i386
>> 
>> What gives?
> 
> 
> Reported earlier [1].
> 
> I spent a little time trying to fix this, but I couldn't come up with a solution.  


The following works (the solution was listed in the MacPorts tickets) --

punkish at Lucknow /opt/local/bin$sudo ./port install geos configure.cc=gcc-4.2 configure.cxx=g++-4.2
--->  Fetching archive for geos
--->  Fetching geos
--->  Verifying checksum(s) for geos
--->  Extracting geos
--->  Configuring geos
--->  Building geos
--->  Staging geos into destroot
--->  Installing geos @3.3.0_0
--->  Activating geos @3.3.0_0
--->  Cleaning geos


> 
> Howard
> 
> [1]: http://lists.osgeo.org/pipermail/geos-devel/2011-July/005364.html
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list