pglogical icon indicating copy to clipboard operation
pglogical copied to clipboard

Error compiling on Postgres 17 on Ubuntu

Open theory opened this issue 1 year ago • 3 comments

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.

theory avatar Dec 18 '24 23:12 theory

Hello! Any chance of a fix for Postgres 17? Thanks!

theory avatar Jan 24 '25 19:01 theory

I fixed this with make LDFLAGS_EX='-L/usr/lib/postgresql/17/lib'

Denton-L avatar Mar 21 '25 11:03 Denton-L

Thank you, @Denton-L, that fixes it for me, as well.

theory avatar Mar 21 '25 17:03 theory