Nominatim with osm2pgsql for rhel 6

المشرف العام

Administrator
طاقم الإدارة
I tried configure&make Nominatim on rhel6.5 but Nominatim compiled whithout osm2pgsql. I also tried compied osm2pgql by handle with ./autogen, ./configure make and got many errorslike:

collect2: ld returned 1 exit status make[1]: * [osm2pgsql] Error 1 make[1]: Leaving directory `/opt/Nominatim/osm2pgsql' make: * [all] Error 2

After local instalation boost-1.58 I got osm2pgsl but now when I trying ./setup.php like:

service postgresql-9.3 start && sudo -u nominatim -- ./utils/setup.php --osm-file maps/switzerland.osm.bz2 --all --threads 2 2>&1

I got error bellow:

Import /opt/Nominatim/osm2pgsql/osm2pgsql: error while loading shared libraries: libboost_filesystem-mt.so.1.58.0: cannot open shared object file: No such file or directory ERROR: Error executing external command: /opt/Nominatim/osm2pgsql/osm2pgsql -lsc -O gazetteer --hstore -C 2507 -P 5432 -d nominatim /opt/Nominatim/maps/switzerland.osm.bz2 Error executing external command: /opt/Nominatim/osm2pgsql/osm2pgsql -lsc -O gazetteer --hstore -C 2507 -P 5432 -d nominatim /opt/Nominatim/maps/switzerland.osm.bz2

Is there prepared osm2pgsql for rhel 6.5 or where I can find default.style for Nominatim like bases that use osm2pgsql by handle?



أكثر...
 
أعلى