postgrespro / postgres_cluster

Various experiments with PostgreSQL clustering
Other
151 stars 28 forks source link

FATAL: XX000: could not load library "/usr/local/pgsql/lib/multimaster.so": /usr/local/pgsql/lib/multimaster.so: undefined symbol: IndexRelationGetNumberOfKeyAttributes #34

Open nemoaa opened 7 years ago

nemoaa commented 7 years ago

build postgres_cluster is Success then i create extension postgres=# create extension multimaster ; ERROR: could not load library "/usr/local/pgsql/lib/multimaster.so": /usr/local/pgsql/lib/multimaster.so: undefined symbol: TM STATEMENT: create extension multimaster ; ERROR: could not load library "/usr/local/pgsql/lib/multimaster.so": /usr/local/pgsql/lib/multimaster.so: undefined symbol: TM the log is [postgres@mm2 pgdata]$ FATAL: XX000: could not load library "/usr/local/pgsql/lib/multimaster.so": /usr/local/pgsql/lib/multimaster.so: undefined symbol: IndexRelationGetNumberOfKeyAttributes LOCATION: internal_load_library, dfmgr.c:235 LOG: 00000: database system is shut down LOCATION: UnlinkLockFiles, miscinit.c:755

knizhnik commented 7 years ago

Thank you for reporting the problem.

Sorry, multimaster code in this repository is slightly out of date (we included latest version of multimaster in Postgres Pro Enterprise Edition). We are going to update free version of multimaster, but it will take some time. Actually this bug is caused by my attempt to somehow synchronize code of Github repository. IndexRelationGetNumberOfKeyAttributes is function of PrPro EE, defined for covering indexes. I fixed this build issue.

nemoaa commented 7 years ago

thank you very much