On Wed, May 09, 2018 at 06:38:48AM +0000, PG Bug reporting form wrote:
> test_db=# create extension "uuid-ossp";
> ERROR: could not open extension control file
> "/usr/pgsql-10/share/extension/uuid-ossp.control": No such file or directory
This is not a bug. Usually on Linux all distributions split the core
server packages and the extra modules into two different packages, so
you are visibly missing the extra one. For CentOS 7, this is usually
named postgresql-contrib. If you install that, then you will be able to
install the extension(s) you are looking for.
--
Michael