You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <string.h>. 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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: