[Tile-serving] [openstreetmap/osm2pgsql] Connection error due to old libpq version (#1199)

janhec notifications at github.com
Mon Jun 1 19:23:24 UTC 2020


The action and response is/are:
`F:\osm>"C:\Program Files\PostgreSQL\11\bin\\osm2pgsql-bin\osm2pgsql" -S "C:\Program Files\PostgreSQL\11\bin\default.style" -l --hstore -d SST_hulp -U postgres -W geminitwins -C 4096 nlwater.osm
osm2pgsql version 1.2.0

Password:
Allocating memory for sparse node cache
Node-cache: cache=4096MB, maxblocks=65536*65536, allocation method=1
Connection to database failed: SCRAM authentication requires libpq version 10 or above

DB copy thread failed: Connecting to database.`

Working in windows 10, got osm2pgsql.exe from appveyor.
When executing 'where libpq.dll' I get 2 results, both version 11.6. So my installation is ok.
Then it looks as if osm2pgsql uses libpq (old version) in a static library.
If so, PLEASE make it link dynamically, or update the libpq version?
Thanks, Jan

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1199
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200601/f058db6c/attachment.htm>


More information about the Tile-serving mailing list