[OSM-dev] osm2pgsql - comile problems

Nick Black nickblack1 at gmail.com
Sun Mar 18 17:45:57 GMT 2007


Yeah:

# geos-config --version
3.0.0rc4
# which geos-config
/usr/local/bin/geos-config
# echo $PATH
/usr/local/sbin:/usr/local/bin


On 3/18/07, Artem Pavlenko <artem at mapnik.org> wrote:
> Hi Nick,
>
> Is geos-conf ig in your $PATH ?
> Cheers,
> Artem
>
> On 18 Mar 2007, at 17:15, Nick Black wrote:
>
> > Hello,
> >
> > I'm trying to compile the latest version of osm2pgsql  - Revision:
> > 2269/non experimental.  I have geos version 3.0.0rc4 and g++ (GCC)
> > 4.1.2.  When I try to 'make' I get an error:
> >
> > /usr/src/svn.openstreetmap.org/utils/osm2pgsql/build_geometry.cpp:72:
> > undefined reference to
> > `geos::geom::GeometryFactory::GeometryFactory()'
> >
> > I don't know much about C++, but I thought "undifined reference"
> > errors came from compiling C++ using a C compiler?
> >
> > Are there any workarounds for this?
> >
> > Cheers,
> >
> >
> > --
> > Nick Black
> > --------------------------------
> > http://www.blacksworld.net
> >
> > _______________________________________________
> > dev mailing list
> > dev at openstreetmap.org
> > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
> >
>
>


-- 
Nick Black
--------------------------------
http://www.blacksworld.net




More information about the dev mailing list