Mikael Sand <ms...@seaber.io> writes: > Wonderful, the build works when using -lpgcommon_shlib -lpgport_shlib > So this appears to imply that the output of `pkg-config -libs -static > libpq`is incorrect?
>> /app # pkg-config -libs -static libpq >> -L/usr/local/lib -lpq -L/usr/lib/llvm15/lib -L/usr/local/lib -lpgcommon >> -lpgport -lgssapi_krb5 -lm -lldap -lssl -lcrypto -ldl -pthread Hmm ... does seem that way. Peter apparently deliberately made it so in 55392bc5b, but there's no real justification for removing _shlib in the commit message. Peter? regards, tom lane