4

Ubuntu 21.10 , PostgreSQL 13.

enter image description here

I catch error

ERROR: could not open extension control file "/usr/share/postgresql/13/extension/postgis.control": No such file or directory

how to fix it?

1
  • 1
    Install the extension using your package manager. Or build it from source if you like. It is in its own package, not installed by default.
    – jjanes
    Commented Mar 30, 2022 at 4:35

1 Answer 1

6
sudo apt install postgis postgresql-13-postgis-3-scripts
create extension postgis; 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.