[OSM-talk] compile error in osm2shp
hanoj
enemy at mail.muni.cz
Sun Jun 10 17:49:11 BST 2007
hello,
I have download and "make" + "make install lib" from shapelib, but
osm2shp make compile error.
I test so package from repository without winner.
I not see where is problem, parameter -lshp for make is not for me
transparent...
> enemy at pelynek:~/dokumenty/osm/osm2shp$ make
> g++ -o osm2shp osm2shp.o -L/usr/local/lib ../lib/libosm/libosm.a -lshp
> -lexpat
> /usr/bin/ld: cannot find -lshp
> collect2: ld returned 1 exit status
> make: *** [osm2shp] Error 1
thanks
hanoj
Nick Whitelegg napsal(a):
> You need to download and install shapelib, which is a library which
> osm2shp uses. I think it's at shapelib.maptools.org.
>
> Nick
>
>
>
>
> hanoj <enemy at mail.muni.cz>
> Sent by: talk-bounces at openstreetmap.org
> 09/06/2007 13:08
>
> To
> talk at openstreetmap.org
> cc
>
> Subject
> [OSM-talk] compile error in osm2shp
>
>
>
>
>
>
> Hello,
>
> I will compile osm2shp now on Ubutnu 7.04 with deb. package:
>
> * expat-1.95.8
>
> and source :
>
> * lib/ccord with make
> * lib/libosm with make
> * shapelib-1.2.10 with "make / make lib install"
>
>
> when I make osm2shp I see error:
>
> enemy at pelynek:~/dokumenty/osm/osm2shp$ make
> g++ -o osm2shp osm2shp.o -L/usr/local/lib ../lib/libosm/libosm.a -lshp
> -lexpat
> /usr/bin/ld: cannot find -lshp
> collect2: ld returned 1 exit status
> make: *** [osm2shp] Error 1
>
>
>
> have you true procedure?
>
> thanks
>
> hanoj
More information about the talk
mailing list