From: Ben Sturmfels <ben@stumbles.id.au>
To: 32712@debbugs.gnu.org
Subject: bug#32712: Error running "create extension postgis"
Date: Wed, 12 Sep 2018 13:07:21 +1000 [thread overview]
Message-ID: <8736uf9zx2.fsf@sturm.com.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]
Hi Folks,
When I attempt to create a database with PostGIS extensions, I get an
error "could not open extension control file":
$ createdb -O ben testdb
$ psql testdb --command="create extension postgis"
ERROR: could not open extension control file "/gnu/store/6238qjlc6cl7wld3gykcfj83ajlsrmjd-postgresql-10.5/share/extension/postgis.control": No such file or directory
My GuixSD system configuration includes the PostgreSQL service and the
PostGIS package, something like this:
(packages (cons*
...
postgis
%base-packages))
(services (cons*
...
(postgresql-service)
%desktop-services))
If I look in the store, I see "postgis.control" in a number of places,
but definitely not in the "postgresql-10.5" directory:
$ find /gnu/store -name postgis.control
/gnu/store/a9bnyqpxbhskf4vz6p84k4m42li4zqc8-postgis-2.4.4/share/extension/postgis.control
/gnu/store/8jimyykpydhppbdbp72zr4z7l0z2fblr-profile/share/extension/postgis.control
Regards,
Ben
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next reply other threads:[~2018-09-12 3:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-12 3:07 Ben Sturmfels [this message]
2018-09-12 7:11 ` bug#32712: Error running "create extension postgis" Julien Lepiller
2018-09-12 7:40 ` Gábor Boskovits
2019-04-24 1:59 ` Ben Sturmfels
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8736uf9zx2.fsf@sturm.com.au \
--to=ben@stumbles.id.au \
--cc=32712@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).