Can not install RUM extension with postgresql 12, Ubuntu 18.04, postgresql 12 apt pkg.
sudo apt-get install postgresql-12-rum
psql DB -c "CREATE EXTENSION rum;"
psql: error: could not connect to server: FATAL: role "root" does not exist
OK, I create role root..
psql DB -c "CREATE EXTENSION rum;"
ERROR: could not open extension control file "/usr/share/postgresql/10/extension/rum.control": No such file or directory
OK, I move all rum files to /usr/share/postgresql/10/extension/
psql DB -c "CREATE EXTENSION rum;"
ERROR: could not access file "$libdir/rum": No such file or directory
OK I move the rum.so file from /usr/lib/postgresql/12/lib to /usr/lib/x86_64-linux-gnu/rum/
psql DB -c "CREATE EXTENSION rum;"
ERROR: could not access file "$libdir/rum": No such file or directory
OK, I replace $libdir in control file to a full absolute path
psql DB -c "CREATE EXTENSION rum;"
ERROR: could not load library "/usr/lib/x86_64-linux-gnu/rum.so": /usr/lib/x86_64-linux-gnu/rum.so: undefined symbol: rbt_begin_iterate
OK, I give up.
Can not install RUM extension with postgresql 12, Ubuntu 18.04, postgresql 12 apt pkg.
OK, I create role root..
OK, I move all rum files to /usr/share/postgresql/10/extension/
OK I move the rum.so file from /usr/lib/postgresql/12/lib to /usr/lib/x86_64-linux-gnu/rum/
OK, I replace $libdir in control file to a full absolute path
OK, I give up.