Skip to content

Windows: update libpq version #1199

@janhec

Description

@janhec

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions