Skip to content

[Question] Build lipq with SSL support #38

@iperdomo

Description

@iperdomo

Hi,

At Akvo we're using Windshaft as one of the components for rendering maps.

When trying to upgrade to a newer version of Windshaft we found the same problem that made us need to compile node-mapnik in the past. The library libpq was compiled without SSL support. You can find other people reporting the same problem, e.g. mapnik/mapnik-support#110 and mapnik/mapnik#3656 when trying to reach a SSL enabled PostGIS server.

Taking .travis.yml as inspiration and just few changes, we managed to compile node-mapnik with SSL support.

Environment:

  • Ubuntu Xenial
  • node.js LTS (10.16.3)

The script: build-node-mapnik.sh

And the full build log of running the script in Ubuntu Xenial (docker image ubuntu:xenial-20190904) (NOTE: some ANSI scape codes are included and not removed)

We would like to propose this change upstream (instead of managing a separate build ourselves)

Is the support for SSL in libpq something you would consider? Can we propose this change to this library?

Thanks for your support.

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