Talk:Osmium/Quick Start

From OpenStreetMap Wiki
Jump to: navigation, search

Installation instructions: debuild error when trying to enable pbf support

System: Fresh installation of Ubuntu Desktop 10.04 LTS (Lucid Lynx) with all packages upgraded

Installing prerequisites seems to be running ok, but when trying to execute the commands for protobuf support, the debuild command fails:

make[1]: Betrete Verzeichnis '/home/work/libosmpbf/OSM-binary/tools'
g++ -g -I../include -o osmpbf-outline osmpbf-outline.cpp -L../src -lpthread -lz -lprotobuf-lite -losmpbf
/usr/bin/ld: cannot find -lprotobuf-lite
collect2: ld returned 1 exit status
make[1]: *** [osmpbf-outline] Fehler 1
make[1]: Verlasse Verzeichnis '/home/work/libosmpbf/OSM-binary/tools'
make: *** [build-stamp] Fehler 2
dpkg-buildpackage: Fehler: debian/rules build gab Fehler-Exitstatus 2
debuild: fatal error at line 1340:
dpkg-buildpackage -rfakeroot -D -us -uc -I failed

My idea is to put together tested instruction for inexperienced users like me that should be valid until support for this ubuntu release ends and then be replaced by re-tested instructions for the next LTS release. It would not be a problem to switch to another OS like Debian Squeeze but I had problems there as well.--G0ldfish 13:19, 5 April 2012 (BST)

I think I found reason and explanation for this error: http://help.openstreetmap.org/questions/7782/compiling-osmium-on-ubuntu --G0ldfish 13:19, 5 April 2012 (BST)
This problem does not occur with Ubuntu Oneiric Ocelot (11.10) --G0ldfish 10:41, 17 April 2012 (BST)