The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev are no longer available to newly linked binaries, and their declarations have been removed from . They are exported solely as compatibility symbols to support old binaries. All programs should use strsignal instead.
Changing that line to strsignal call corrects the build error. This probably needs to be wrapped in a different macro conditional based on glibc version.
Hi @rokclimb15
Thanks for the hint.
I will make this change and test with other platforms and if everything is ok, I will include it in the subsequent releases.
Problem description
Ubuntu 22.04+ ships with glibc 2.32 or newer. From the release notes at https://sourceware.org/pipermail/libc-announce/2020/000029.html:
https://github.com/aws/amazon-redshift-odbc-driver/blob/main/src/pgclient/src/port/exec.c#L529
Changing that line to
strsignal
call corrects the build error. This probably needs to be wrapped in a different macro conditional based on glibc version.