Article 4Z8B6 CentOS tile server

CentOS tile server

by
kzo81
from LinuxQuestions.org on (#4Z8B6)
Hi,

I've been trying to build a tile server on CentOS. Postgres and Postgis have been installed however when I try to use the Postgis extension I got this error:

psql -c "CREATE EXTENSION postgis;" -d gis
ERROR: could not open extension control file "/usr/share/pgsql/extension/postgis.control": No such file or directory

I googled and found out that a postgis control script is missing.

I could only install postgis this way:
yum install postgis30_95.x86_64 --skip-broken
yum install postgis-utils --nobest --skip-broken

Postres version:
postgresql.x86_64 10.6-1.module_el8.0.0+15+f57f353b @AppStream
postgresql-contrib.x86_64 10.6-1.module_el8.0.0+15+f57f353b @AppStream
postgresql-server.x86_64 10.6-1.module_el8.0.0+15+f57f353b @AppStream

Could you please help me with this issue? There is no postgis.contol fil in /usr directory. I guess postgis hasnt fully installed into my CentOS8 test serverlatest?d=yIl2AUoC8zA latest?i=yuVorbJIn6Q:DnGCvtl86ag:F7zBnMy latest?i=yuVorbJIn6Q:DnGCvtl86ag:V_sGLiP latest?d=qj6IDK7rITs latest?i=yuVorbJIn6Q:DnGCvtl86ag:gIN9vFwyuVorbJIn6Q
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments