Closed Jasonjunzhou closed 5 years ago
Did your set enable_float8_byval=no
when build pg_roaringbitmap ?
By default (enable_float8_byval=yes) Float8GetDatum should be inlined
I got this error while creating extensions on postgresql 10 and 11. Sorry about my poor make knowledge, where can I change this arguments? thanks.
I solved my problem in the following way.
Try checking the postgresql version to confirm that only one version is installed. If not, delete the previous version
Check if the environment variable is configured completely
Rbulid the extension
If you use yum to install postgresql, you might get an error about clang when you buliding the extension. Try to install clang and llvm
There may be problems with gcc and cmake versions when you install clang and llvm. Try to manually compile and install them
Rebuild the extension "make CLANG=your/path/clang"
Hope it helps you.
Thanks for your time, It really helps.
I solved this problem after i delete previous version.Thanks
I'm trying to install the extension on postgresql 11.2 I'm getting the error :could not load library "/usr/pgsql-11/lib/roaringbitmap.so": /usr/pgsql-11/lib/roaringbitmap.so: undefined symbol: Float8GetDatum
I got the error when I execute 'psql -c "create extension roaringbitmap"'
Then I upgraded postgresql 11.2 to 11.3 And rebulid the extension,there is still report this error
Any idea what can I check ?