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.89) (envelope-from ) id 1j2Eqp-0000fO-62 for pgsql-general@arkaria.postgresql.org; Thu, 13 Feb 2020 13:48:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j2Eqm-0004yw-Hi for pgsql-general@arkaria.postgresql.org; Thu, 13 Feb 2020 13:48:16 +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 1j2Eql-0004yL-Uh for pgsql-general@lists.postgresql.org; Thu, 13 Feb 2020 13:48:16 +0000 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j2Eqj-00031m-Jj for pgsql-general@postgresql.org; Thu, 13 Feb 2020 13:48:14 +0000 Received: by mail-lj1-x242.google.com with SMTP id x14so6627012ljd.13 for ; Thu, 13 Feb 2020 05:48:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=XE2uT1HLBXzDfZ/gqp69RSgwMmIsyQzHPYFwIwumFcg=; b=rQfqZvp0f0yV941WS3RgmMgl/+yJnIo8yYTLrOVPOMr2HTFHulOwXWJprffc0o1Twl ks6UHleK5/uycfRTldYPAxjVSCbGOvRpKfk/2wqfcCNYJRTWqG+uWyGzbC3DHMjunXfF 5hSo8XtB4Ap7DDr0Bqh0l/uNZ6lRHDxtOjA7yfHn0swwPzpGPMkYVntWbftaZ2Q0aQp9 /KkjaYoirV82V2TohEPVqioyIxkLpFXxLis694sGrwnl3pT7TsQwgzly281uv1wsL3/p ksj3hVgUKhQJrhFHzOpS4EJ9lFLECYvV9SLldsiOtRL6eMNpchm5ahOlnDVdywdBa0AO 56BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=XE2uT1HLBXzDfZ/gqp69RSgwMmIsyQzHPYFwIwumFcg=; b=RJ/bS2E450O0pvLdfHFj5tEOWeRCJIj7rNtsgym2++wbhm0PdBuphEX5zQ8qKbg1xa BYNZ3TMI9M6fboTrnlD9IuHaKl//6MK0Lby5LT23RzM2X7NEwKVNhGDZ7GYb0rL49Cls NoKqJN8BZaZsMJtTVOCKjMnWctwlEeG3d87stLTVCoBhVFoJqMVzfFWOulJZYjt8aaEh 0Wfpcrxlz3+CA2v/a4aZ2Yx5iwmJ2SQWeUxxOy5uNHyUlOGPKW7bJuDDjZ+9UjMKGlMx OFJ0DQR5buY3iIsmI8S7Ufvs9hDFqHexQHgGZAkBk1RSrXLwG7DOI9mZQn+hCocyf5I9 6gpw== X-Gm-Message-State: APjAAAVsMrlh8LJS7j50H3SuOtRxzEFVy9Egt34XmrlWiSUXH5XhEdsI km5YVGAFcQSFgZ9Co/e+2vYoPbRNXizWvQ== X-Google-Smtp-Source: APXvYqy2xCOlxcMe1PFfpq0LtI0OXBWSiMHoqXoJ+kbcsbPfMXo7uGd8FW1wa/fwDHgUYGWYdwhYew== X-Received: by 2002:a05:651c:239:: with SMTP id z25mr10864846ljn.48.1581601692171; Thu, 13 Feb 2020 05:48:12 -0800 (PST) Received: from nol (82-64-124-11.subs.proxad.net. [82.64.124.11]) by smtp.gmail.com with ESMTPSA id k24sm1935487ljj.27.2020.02.13.05.48.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Feb 2020 05:48:10 -0800 (PST) Date: Thu, 13 Feb 2020 14:48:08 +0100 From: Julien Rouhaud To: Sterpu Victor Cc: pgsql-general@postgresql.org Subject: Re: Enabling extensions on a compiled instance of postgresql 12.1 Message-ID: <20200213134808.GA49910@nol> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Feb 13, 2020 at 01:34:55PM +0000, Sterpu Victor wrote: > Hello > > I compiled from source postgresql 12.1 and all went fine but when I try to > restore my DB I can see that I have 3 extensions missing: uuid-ossp, > btree_gist, tablefunc. > I tried to run: CREATE EXTENSION "uuid-ossp"; and the error is ERROR: could > not open extension control file > "/usr/local/pgsql_12.1/share/extension/uuid-ossp.control": No such file or > directory > How do I enable these extensions? I tried to copy the file from my previous > postgres version but is not compatible. > These were my compiling options: ./configure --with-ossp-uuid > --with-uuid=bsd --prefix=/usr/local/pgsql_12.1 Did you also do a "make install" under the contrib/ directory?