Re: [PoC] Federated Authn/z with OAUTHBEARER - Mailing list pgsql-hackers
From | Tom Lane |
---|---|
Subject | Re: [PoC] Federated Authn/z with OAUTHBEARER |
Date | |
Msg-id | 827519.1742422763@sss.pgh.pa.us Whole thread Raw |
In response to | Re: [PoC] Federated Authn/z with OAUTHBEARER (Thomas Munro <thomas.munro@gmail.com>) |
Responses |
Re: [PoC] Federated Authn/z with OAUTHBEARER
|
List | pgsql-hackers |
Thomas Munro <thomas.munro@gmail.com> writes: > It would increase the build dependencies, assuming a package > maintainer wants to enable as many features as possible, but it would > *not* increase the 'package requires' footprint, merely the 'package > suggests' footprint (as Debian calls it), and it's up to the user > whether they install suggested extra packages, no? Maybe I'm confused, but what I saw was a hard dependency on libcurl, as well as several of its dependencies: $ ./configure --with-libcurl ... $ make ... $ ldd src/interfaces/libpq/libpq.so.5.18 linux-vdso.so.1 (0x00007ffc145fe000) libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f2c2fa36000) libm.so.6 => /lib64/libm.so.6 (0x00007f2c2f95b000) libc.so.6 => /lib64/libc.so.6 (0x00007f2c2f600000) libnghttp2.so.14 => /lib64/libnghttp2.so.14 (0x00007f2c2f931000) libidn2.so.0 => /lib64/libidn2.so.0 (0x00007f2c2f910000) libssh.so.4 => /lib64/libssh.so.4 (0x00007f2c2f89b000) libpsl.so.5 => /lib64/libpsl.so.5 (0x00007f2c2f885000) libssl.so.3 => /lib64/libssl.so.3 (0x00007f2c2f51a000) libcrypto.so.3 => /lib64/libcrypto.so.3 (0x00007f2c2f000000) libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f2c2f82f000) libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f2c2ef26000) libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f2c2f816000) libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f2c2f80d000) libldap.so.2 => /lib64/libldap.so.2 (0x00007f2c2eebf000) liblber.so.2 => /lib64/liblber.so.2 (0x00007f2c2eead000) libbrotlidec.so.1 => /lib64/libbrotlidec.so.1 (0x00007f2c2ee9f000) libz.so.1 => /lib64/libz.so.1 (0x00007f2c2ee85000) /lib64/ld-linux-x86-64.so.2 (0x00007f2c2fb43000) libunistring.so.2 => /lib64/libunistring.so.2 (0x00007f2c2ed00000) libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f2c2ecef000) libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f2c2ece8000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f2c2ecd4000) libevent-2.1.so.7 => /lib64/libevent-2.1.so.7 (0x00007f2c2ec7b000) libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f2c2ec5b000) libbrotlicommon.so.1 => /lib64/libbrotlicommon.so.1 (0x00007f2c2ec38000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f2c2ec0b000) libcrypt.so.2 => /lib64/libcrypt.so.2 (0x00007f2c2ebd1000) libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f2c2eb35000) I don't think that will be satisfied by 'package suggests'. Even if it somehow manages to load, the result of trying to use OAuth would be a segfault rather than any useful message. regards, tom lane
pgsql-hackers by date: