Hi Everyone,
[postgres] # CREATE EXTENSION uint;
ERROR: XX000: could not load library "/usr/pgsql-11/lib/uint.so": /usr/pgsql-11/lib/uint.so: undefined symbol: GET_1_BYTE
LOCATION: internal_load_library, dfmgr.c:240
Time: 17.247 ms
I have installed PostgresSQL 11.2 version on Centos 7 and try to install pguint from source to install TINYINT datatype .
But installation had problem not able to resolve dependency packages. I have followed below method to install , please help me to resolve this issue.
1. yum install centos-release-scl-rh
2.yum install llvm-toolset-7-clang-tools-extra
3.yum install devtoolset-7
4.yum install llvm-toolset-5
5.make PG_CONFIG=/usr/pgsql-11/bin/pg_config
6.make PG_CONFIG=/usr/pgsql-11/bin/pg_config install
Installed llvm5.0 packages successfully but when try to create pg extension getting below error ,
ERROR: XX000: could not load library "/usr/pgsql-11/lib/uint.so": /usr/pgsql-11/lib/uint.so: undefined symbol: GET_1_BYTE
LOCATION: internal_load_library, dfmgr.c:240
Time: 17.247 ms
Please help me to resolve this issue.
Regards,
Suresh Seema