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

Regina Obe lr at pcorp.us
Fri Apr 27 11:20:06 PDT 2018


Devrim,

There are MVT tests that become enabled on PostGIS when protobuf building is enabled.

So you should see in your regress results in the first battery of tests:

mvt .. ok
geobuf .. ok

if you don't have sfcgal enabled, then they would be the last tests you see in the first battery of tests.



-----Original Message-----
From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf Of Devrim Gündüz
Sent: Thursday, April 26, 2018 5:25 PM
To: PostGIS Users Discussion <postgis-users at lists.osgeo.org>
Subject: Re: [postgis-users] ST_AsMVT Centos 7 Missing libprotobuf-c


Hi,

I will work on this next week -- can you please let me know how I can test that this feature works, so that I release the package safely?

Regards, Devrim

On Tue, 2018-01-09 at 15:56 +0000, David MacDonald wrote:
> 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/r
> hel-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
> https://lists.osgeo.org/mailman/listinfo/postgis-users

--
Devrim G nd z
EnterpriseDB: https://www.enterprisedb.com PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR



More information about the postgis-users mailing list