[postgis-users] PostGIS 2.0 (SVN rev7683) from source on Lion using MacPorts for dependencies

Bborie Park bkpark at ucdavis.edu
Wed Aug 31 13:56:07 PDT 2011



On 08/27/2011 08:59 AM, JP Glutting wrote:
> I am bumping this post up. I was never able to compile rev 7683 - I am
> working with revision 7059, which I was able to compile. I am trying to
> compile revision 7789 now, and I am having the same problem. This is what I
> get:
>
> ...
>    "_lwgeom_calculate_gbox_geodetic", referenced from:
>        _compute_geography_stats in geography_estimate.o
>        _geography_gist_selectivity in geography_estimate.o
>        _geography_area in geography_measurement.o
>    "_gserialized_get_type", referenced from:
>        _geography_bestsrid in geography_measurement.o
>        _geography_covers in geography_measurement.o
>        _geography_perimeter in geography_measurement.o
>    "_lwgeom_calculate_gbox_cartesian", referenced from:
>        _geography_bestsrid in geography_measurement.o
>    "_lwgeom_covers_lwgeom_sphere", referenced from:
>        _geography_covers in geography_measurement.o
>    "_gserialized_get_gbox_p", referenced from:
>        _geography_point_outside in geography_measurement.o
>    "_gbox_pt_outside", referenced from:
>        _geography_point_outside in geography_measurement.o
>    "_lwgeom_area_sphere", referenced from:
>        _geography_area in geography_measurement.o
>    "_lwgeom_area_spheroid", referenced from:
>        _geography_area in geography_measurement.o
>    "_gserialized_datum_get_gbox_p", referenced from:
>        _compute_geometry_stats in geometry_gist_selectivity.o
>        _geometry_gist_sel_2d in geometry_gist_selectivity.o
> ld: symbol(s) not found for architecture i386
> collect2: ld returned 1 exit status
> lipo: can't open input file:
> /var/folders/k0/lzz_jzld03d8yg881mnbh7_h0000gp/T//ccgj6uq8.out (No such file
> or directory)
> make[1]: *** [postgis-2.0.so] Error 1
> make: *** [all] Error 1
>
> Is anyone else using Macports? Are there any tricks I could try to get this
> to compile? I would like to use ST_SummaryStats for some raster analysis I
> need to do.
>
> Thanks,
> JP
>

Have you tried compiling without using Macports?  I'm able to compile 
with the following:

OSX 10.6.8
Xcode 3.2.6
Fink 0.31.0
PostgreSQL 9.0.4
GEOS 3.3.0
PROJ 4.7.1
GDAL trunk r22922
PostGIS trunk r7791

All of it was compiled from source.  Fink was for libreadline.

-bborie

-- 
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkpark at ucdavis.edu



More information about the postgis-users mailing list