unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32712: Error running "create extension postgis"
@ 2018-09-12  3:07 Ben Sturmfels
  2018-09-12  7:11 ` Julien Lepiller
  0 siblings, 1 reply; 4+ messages in thread
From: Ben Sturmfels @ 2018-09-12  3:07 UTC (permalink / raw)
  To: 32712

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-24  2:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-12  3:07 bug#32712: Error running "create extension postgis" Ben Sturmfels
2018-09-12  7:11 ` Julien Lepiller
2018-09-12  7:40   ` Gábor Boskovits
2019-04-24  1:59     ` Ben Sturmfels

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).