<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi,<br class="">
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">However, I’ve moved to testing on a CentOS 7 VM, and have run into an issue.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">So I installed Postgres as follows:</div>
<div class=""><br class="">
</div>
<div class="">
<pre class="" style="background-color: rgb(43, 43, 43); color: rgb(169, 183, 198); font-family: Menlo; font-size: 9pt;"><pre class="" style="font-family: Menlo; font-size: 9pt;">sudo yum -y install <a href="https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-1.noarch.rpm" class="">https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-1.noarch.rpm</a><br class=""><br class="">sudo yum -y install postgresql10-server postgresql10 postgis24_10 postgis24_10-utils postgis24_10-client<br class=""><br class="">sudo /usr/pgsql-10/bin/postgresql-10-setup initdb</pre><pre class="" style="font-family: Menlo; font-size: 9pt;"><pre class="" style="font-size: 9pt; font-family: Menlo;">sudo systemctl enable postgresql-10<br class="">sudo systemctl start postgresql-10</pre></pre><pre class="" style="font-family: Menlo; font-size: 9pt;"><br class=""></pre></pre>
<div class=""><br class="">
</div>
</div>
<div class="">I’ve also enabled the posts extensions.</div>
<div class=""><br class="">
</div>
<div class="">However, when I execute an ST_AsMVT query, I get the following error:</div>
<div class=""><br class="">
</div>
<div class="">2018-01-09 23:32:31.122 AWST [9913] ERROR:  Missing libprotobuf-c</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">I’ve Googled about, but I can’t seem to find anything conclusive.</div>
<div class=""><br class="">
</div>
<div class="">I tried installing protobuf:</div>
<div class=""><br class="">
</div>
<div class="">sudo yum install protobuf protobuf-c</div>
<div class=""><br class="">
</div>
<div class="">And restarting Postgres, but still the issue persists.</div>
<div class=""><br class="">
</div>
<div class="">Any help or direction would be very much appreciated.</div>
<div class=""><br class="">
</div>
<div class="">David.</div>
<br>
<br>
</body>
</html>