pg_tle
pg_tle copied to clipboard
Cannot build the extension on macOS
Description
I can't build the extension on macOS, specifically 14.4.1. I did not see anywhere in the documentation that the extension is limited to linux or x86_64.
Steps to reproduce
Followed the installation instructions - cloned the repository and ran make
in the cloned folder.
Expected outcome
Extension being built successfully
Actual outcome
ld: warning: ignoring file '/usr/local/Cellar/postgresql@15/15.6_1/bin/postgres': found architecture 'x86_64', required architecture 'arm64'
Undefined symbols for architecture arm64:
"_AllocSetContextCreateInternal", referenced from:
_execute_extension_script in tleextension.o
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [pg_tle.so] Error 1
Analysis
It would also be nice if the extension was installable using pgxn.