Yum installed PostgreSQL 10 and PostGIS 2.0 on a CentOS 7 host. Got this error while creating the postgis extension on a DB:
could not open extension control file "/usr/pgsql-10/share/extension/postgis.control": No such file or directory
The postgis.control file on the Centos 7 is actually on /usr/share/pgsql/extension/postgis.control
How should I resolve this? Will creating a soft link be enough?