Thank you for the pointer. We were able to build it correctly after setting the PG-13 path
PATH=$PATH:/usr/pgsql-13/bin
From: Ian Lawrence Barwick <barwick@gmail.com>
Sent: Tuesday, February 2, 2021 2:54 AM
To: Jain, Ankit <Ankit.Jain@snapon.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Issues with using plpgsql debugger using PG13 on Centos 7
CAUTION: This email originated from outside of Snap-on. Do not click on links or open attachments unless you have validated the sender, even if it is a known contact. Contact the sender by phone to validate the contents.
But got the following error –
ERROR: could not load library "/usr/pgsql-13/lib/plugin_debugger.so": /usr/pgsql-13/lib/plugin_debugger.so: undefined symbol: LWLockAssign SQL state: 58P01
Can you please help with getting the debugger working ?
It looks like the extension code was compiled against an older PostgreSQL
version (presumably 9.5 or earlier; LWLockAssign was removed in 9.6).
You'll need to make sure it's compiled against the major version you're using.
--