[postgis-users] ST_AsMVT Centos 7 Missing libprotobuf-c

David MacDonald davidm at yambay.com
Tue Jan 9 07:56:30 PST 2018


I’m currently working on a Mapbox tile server using the new MVT support in Postgis 2.4.  I’ve been testing with a local docker image of Postgres/Postgis and all is going well.

However, I’ve moved to testing on a CentOS 7 VM, and have run into an issue.

So I installed Postgres as follows:

sudo yum -y install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-1.noarch.rpm

sudo yum -y install postgresql10-server postgresql10 postgis24_10 postgis24_10-utils postgis24_10-client

sudo /usr/pgsql-10/bin/postgresql-10-setup initdb

sudo systemctl enable postgresql-10
sudo systemctl start postgresql-10

I’ve also enabled the posts extensions.

However, when I execute an ST_AsMVT query, I get the following error:

2018-01-09 23:32:31.122 AWST [9913] ERROR:  Missing libprotobuf-c

I’ve Googled about, but I can’t seem to find anything conclusive.

I tried installing protobuf:

sudo yum install protobuf protobuf-c

And restarting Postgres, but still the issue persists.

Any help or direction would be very much appreciated.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20180109/11a6a28d/attachment.html>

More information about the postgis-users mailing list