HypoPG / hypopg

Hypothetical Indexes for PostgreSQL
https://hypopg.readthedocs.io
Other
1.39k stars 59 forks source link

getting the error `undefined symbol: get_am_name` #15

Closed alexanderadam closed 6 years ago

alexanderadam commented 6 years ago

Thank you very much for hypopg. I'm trying to run it in the official docker container for Postgres 9.4 but it seems that something is wrong:

root@host:/tmp/hypopg-1.1.0# make install
/bin/mkdir -p '/usr/lib/postgresql/9.4/lib'
/bin/mkdir -p '/usr/share/postgresql/9.4/extension'
/bin/mkdir -p '/usr/share/postgresql/9.4/extension'
/usr/bin/install -c -m 755  hypopg.so '/usr/lib/postgresql/9.4/lib/hypopg.so'
/usr/bin/install -c -m 644 hypopg.control '/usr/share/postgresql/9.4/extension/'
/usr/bin/install -c -m 644 hypopg--1.1.0.sql '/usr/share/postgresql/9.4/extension/'
root@host:/tmp/hypopg-1.1.0# psql postgresql://postgres@localhost:5432/database
psql (9.4.15)
Type "help" for help.
database=# CREATE EXTENSION hypopg;
ERROR:  could not load library "/usr/lib/postgresql/9.4/lib/hypopg.so": /usr/lib/postgresql/9.4/lib/hypopg.so: undefined symbol: get_am_name

Do you have any idea what it could be?

alexanderadam commented 6 years ago

Nevermind. It's present in the latest release 1.1.0 but fixed in current master. :wink:

Have a wonderful day!