[postgis-devel] FW: [postgis-users] ST_AsMVT Centos 7 Missing libprotobuf-c
Regina Obe
lr at pcorp.us
Tue Jan 9 19:25:22 PST 2018
Devrim,
If you are listening I think this one may be for you.
Thanks,
Regina
From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf Of Björn Harrtell
Sent: Tuesday, January 09, 2018 1:56 PM
To: PostGIS Users Discussion <postgis-users at lists.osgeo.org>
Subject: Re: [postgis-users] ST_AsMVT Centos 7 Missing libprotobuf-c
Hi David,
The problem is likely that the CentOS 7 packaged version of PostGIS 2.4 was not made in a way to support protobuf-related functions (including ST_AsMVT).
It does not help adding protobuf-c as a package later, it needs to be depended on by the postgis package and available when the package is/was created.
So, you will either have to convince the responsible for the package to depend on the required things for protobuf-related functions or find an alternative distribution of the package, or build postgis yourself.
Notes on the protobuf-related (optional) requirements are listed at:
https://postgis.net/docs/manual-2.4/postgis_installation.html#install_requirements
/Björn
2018-01-09 16:56 GMT+01:00 David MacDonald <davidm at yambay.com <mailto:davidm at yambay.com> >:
Hi,
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.
David.
_______________________________________________
postgis-users mailing list
postgis-users at lists.osgeo.org <mailto:postgis-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/postgis-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20180109/0bf50f56/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Untitled attachment 00034.sql
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20180109/0bf50f56/attachment.ksh>
More information about the postgis-devel
mailing list