[Geocoding] Installation assistance
Sarah Hoffmann
lonvia at denofr.de
Thu May 22 13:21:13 UTC 2014
Hi,
On Thu, May 22, 2014 at 03:01:42AM +0000, Abraham Tom wrote:
> I am new to Nominatim but fascinated with this service
> I followed the instructions found her http://wiki.openstreetmap.org/wiki/Nominatim/Installation#Nominatim_module_reading_permissions
> And I am running into an error
> When I run the
> ./setup.php --osm-file planet-latest.osm --all --osm2pgsql-cache 18000
>
> PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_pgsql.so' - libpq.so.5: cannot open shared object file: No such file or directory in Unknown on line 0
> PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pgsql.so' - libpq.so.5: cannot open shared object file: No such file or directory in Unknown on line 0
> Create DB
> createdb: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory
> ERROR: Error executing external command: createdb -E UTF-8 -p 5432 nominatim
> Error executing external command: createdb -E UTF-8 -p 5432 nominatim
>
> Both /pdo_pgsql.so and pgsql.so exists and have good permissions
>
> But I cannot find my /usr/pgsql-9.3/lib/libpq.so.5 file
This sound like your currently installed postgres version is incompatible
with the PHP DB connector. Try reinstalling the php-db and php-pgsql
packages.
Sarah
More information about the Geocoding
mailing list