[OSM-talk] compile error in osm2shp

Nick Whitelegg Nick.Whitelegg at solent.ac.uk
Sat Jun 9 13:58:00 BST 2007


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

_______________________________________________
talk mailing list
talk at openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk






More information about the talk mailing list