Re: enabling uuid-ossp in centos 7

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: "sivapostgres(at)yahoo(dot)com" <sivapostgres(at)yahoo(dot)com>, Postgresql General Group <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: enabling uuid-ossp in centos 7
Date: 2020-03-02 13:59:36
Message-ID: 2c8f51f31803799f3745f5e0dec6f42e77254e57.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2020-03-02 at 11:00 +0000, sivapostgres(at)yahoo(dot)com wrote:
> yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
> yum install postgresql11
> yum install postgresql11-server
> /usr/pgsql-11/bin/postgresql-11-setup initdb
>
> Now the command
> create extension if not exists "uuid-ossp";
> gives the following error
>
> could not open extension control file "/usr/pgsql-11/share/extension/uuid-ossp.control": No such file or directory
> SQL state: 58P01
>
> What to do to enable this extension?
>
> In windows, this works fine. Issue is when installing under Linux only.

You forgot

yum install postgresql11-contrib

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Ford 2020-03-02 14:42:15 Postgresql 12.x on Windows (vs Linux)
Previous Message sivapostgres@yahoo.com 2020-03-02 11:00:38 Re: enabling uuid-ossp in centos 7