Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j8lbk-0008M3-Uh for pgsql-general@arkaria.postgresql.org; Mon, 02 Mar 2020 13:59:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j8lbj-0007Gt-C5 for pgsql-general@arkaria.postgresql.org; Mon, 02 Mar 2020 13:59:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j8lbi-0007Gl-VA for pgsql-general@lists.postgresql.org; Mon, 02 Mar 2020 13:59:43 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j8lbf-0005kG-SP for pgsql-general@lists.postgresql.org; Mon, 02 Mar 2020 13:59:41 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 6so2845161wmi.5 for ; Mon, 02 Mar 2020 05:59:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=uCNqD8UI73a6zd5sAXv1Q0CgrDE+Z2eAJg1NefxWYP0=; b=hFvw6W3ARmGNmL44sCUI/2hkdmA1/B0RErL1lw+y7PBLZ0LWetLEzjuaVwJZM64UWQ K4nU510RXI+Pw2Cg32zcKynX+5uEJVvI8WKecgBSLKk2D1DYDRXB0kFwfKeLy+2tXEya Y0Mrf6P7Sb4254h9aTvvvPzNPJkxcTclKjIYuORp0IZDd2YQA800sVdmRGyBW6dhXMEk wryK7leFfLjVEK+M5J5xd4y2hW1tveflttxnFsuGXRRutKBr3EZXzUFKwU0fHmfJVeFt RoOleeqTtvwtftlOvYTPma96lUXbUW76nA8dBd1DJhnBKeQjZxwPXhQ23IKBdP1GuYV4 avHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=uCNqD8UI73a6zd5sAXv1Q0CgrDE+Z2eAJg1NefxWYP0=; b=XSUUL7Rn8blnff62h5zrkiRct0mZgvjskTMgSssgD/NG2WGfQtQ1m2Pe050JdIJ/Pu IsyEPoDyWEC6+VDTyyZAQuzZxxgRwb0XdcJr7+4hblKgRpJrk7A/nXnyerBNHP0zrP3D HIRyOrWakOZk4aUzccRsgyRsmHnyLSJDcbuewpIAOYvEF8ArA3uJKiGBZZD4WvFRO00E CsYlTXS7vB/KyhRBo08BdTwuAAuQC8SDSYFXwNSZYoWGCHkBy61B3qibF5Sckj2EvdfL wRHKfNxO1CtU5OvtMHSIJlAMo+4Q7FHl2TSIHZ3vpDayQRQzkuRESzzBk4rNU6kTXNuO sEDQ== X-Gm-Message-State: ANhLgQ3+K2CmTx/uudeje/x4cSJUw0dJ1ebV0iXyaMqfS+x+BwOBfVK0 w9LHujIO4yc2ToU6kr/LW7SOhQ== X-Google-Smtp-Source: ADFU+vsr6aSMDHUP2qViIEkXw2n879kFv5F/Cw9mTT4B75p6l6lfafbSAuAJZ4Ksq+OKxO4vzZjH5g== X-Received: by 2002:a1c:4681:: with SMTP id t123mr11856677wma.69.1583157578019; Mon, 02 Mar 2020 05:59:38 -0800 (PST) Received: from localhost.localdomain ([212.186.219.234]) by smtp.gmail.com with ESMTPSA id b7sm27583247wrs.97.2020.03.02.05.59.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 05:59:37 -0800 (PST) Message-ID: <2c8f51f31803799f3745f5e0dec6f42e77254e57.camel@cybertec.at> Subject: Re: enabling uuid-ossp in centos 7 From: Laurenz Albe To: "sivapostgres@yahoo.com" , Postgresql General Group Date: Mon, 02 Mar 2020 14:59:36 +0100 In-Reply-To: <576790916.4465797.1583146838375@mail.yahoo.com> References: <576790916.4465797.1583146838375.ref@mail.yahoo.com> <576790916.4465797.1583146838375@mail.yahoo.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, 2020-03-02 at 11:00 +0000, sivapostgres@yahoo.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