pg_cron
pg_cron copied to clipboard
pg_cron cannot be compiled against Postgres 1.5
On an Apple Silicon-based Mac:
Undefined symbols for architecture arm64:
"_libintl_ngettext", referenced from:
_PgCronLauncherMain in pg_cron.o
ld: symbol(s) not found for architecture arm64
On an Intel-based Mac:
Undefined symbols for architecture x86_64:
"_libintl_ngettext", referenced from:
_PgCronLauncherMain in pg_cron.o
ld: symbol(s) not found for architecture x86_64
I suspect the gettext lib has changed.
Postgres 1.5 is using gettext v0.21.
Same issue here (Apple Silicon)
Modifying line 19 of the Makefile to SHLIB_LINK = $(libpq) -L/opt/homebrew/Cellar/gettext/0.21.1/lib -lintl got it to compile, though clearly a dirty hack
Same here, I just added -lintl to the SHLIB_LINK and it worked.
SHLIB_LINK = $(libpq) -lintl