Skip to content

Create extension fails #17

Closed
Closed
@edmenendez

Description

@edmenendez

Using Docker image postgres:10.8. I install it this way.

apt-get update
apt-get install -y gcc git vim postgresql-server-dev-all postgresql-common
# This rm is required so that pg_config doesn't refer to the wrong directory.
rm -f -r /usr/lib/postgresql/11 
cd /tmp
git clone https://github.com/postgrespro/zson.git zson
cd zson
make
make install
make installcheck

installcheck fails because it's trying to connect using sockets. This is probably OK? However, when I psql to the server and try to create the extension I get this:

postgres=# create extension zson;
ERROR:  could not open extension control file "/usr/local/share/postgresql/extension/zson.control": No such file or directory

When I search the file, this is where I find it

root@d76a8502d69c:/tmp/zson# find / -name zson.control
/tmp/zson/zson.control
/usr/share/postgresql/10/extension/zson.control

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions