I want to import shapefile to mysql database with shp2mysql
tool:
shp2mysql roads1 roads_table my_db > roads.sql
But I get this error:
Can't locate Geo/Shapelib.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/bin/shp2mysql line 9.
I can't figure out why, please help. Thanks.
PS: I'm working on ubuntu 12.04 Linux.