title: PostGIS Installation "could not open extension control file"
body: <p>I've been scouring posts trying to figure out how to resolve this issue - <code>could not open extension control file "/usr/local/share/postgresql/extension/postgis.control": No such file or directory</code></p>
  
  <p>I'm installing PostgreSQL and PostGIS with <code>apt-get install postgresql-12 postgis postgresql-12-postgis-3</code> into a Docker container running <code>python:latest</code>. I'd initially been running Alpine however it seemed there were a number of issues getting PostGIS installed successfully on Alpine distributions.</p>
  
  <p>I've located the file with <code>find /usr -name postgis.control</code> under <code>/usr/share/postgresql/12/extension/postgis.control</code>. I've attempted to move this to the directory PostGIS expects, but I'm still seeing the same error.</p>
  
  <p>It's been driving me totally mad!</p>
  
  <p>Any help is appreciated, and happy to answer any questions that will help me find an answer.</p>