Skip to content

Error relocating /usr/lib/libprotoc.so.20 #147

Closed
@GammaGames

Description

@GammaGames

I was having problems building the image, getting the following error when it would try to run make:

Error relocating /usr/lib/libprotobuf.so.20: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
Error relocating /usr/lib/libprotoc.so.20: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
make[1]: Leaving directory '/usr/src/postgis/postgis'
make[1]: *** [Makefile:200: vector_tile.pb-c.c] Error 127
make: *** [GNUmakefile:16: all] Error 1

I went to the postgis package on the alpine repo and saw they had (previously, removed as of 2019-09-12) used a --without-protobuf flag when configuring. I changed my dockerfile to use the command ./configure --without-protobuf. That fixed the errors, and the container is now building.

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