pglogical
pglogical copied to clipboard
Error compiling on Postgres 17 on Ubuntu
Error compiling on Postgres 17 on Ubuntu
/usr/bin/ld: cannot find -lpgcommon: No such file or directory
/usr/bin/ld: cannot find -lpgport: No such file or directory
Seems odd. Works fine on Postgres 16, where the pg_config --libs also includes -lpgcommon -lpgport, so I'm a bit mystified.
Hello! Any chance of a fix for Postgres 17? Thanks!
I fixed this with make LDFLAGS_EX='-L/usr/lib/postgresql/17/lib'
Thank you, @Denton-L, that fixes it for me, as well.