Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uTjA4-008zXd-Vr for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Jun 2025 15:32:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uTjA3-004H85-1R for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Jun 2025 15:32:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uTjA2-004H7N-NJ for pgsql-hackers@lists.postgresql.org; Mon, 23 Jun 2025 15:32:43 +0000 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uTjA0-003f6E-01 for pgsql-hackers@postgresql.org; Mon, 23 Jun 2025 15:32:41 +0000 Received: by mail-qv1-xf30.google.com with SMTP id 6a1803df08f44-6fad3400ea3so42875646d6.0 for ; Mon, 23 Jun 2025 08:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1750692757; x=1751297557; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=iCq1iu4mq4ZksK2S/k+gmNCMBKMf9Ip4YsDdneAEST4=; b=CWV/xCUSdTw8EaBa3Fsr4jxC2Jko7PfPYfplawR2UwHOzlTNwkXuunk7qI/WQfyqm5 WaoXM9EhOOayg/reicJSGnsjxej24R7D98bp6JLDz5VdtbjH520fJNgmRPy/k55JlU2c 99Zbyq/DDZEOWH/xamG+0u3RG6rsQtOJLKgC9BYy6dGUfWwJCfqJ03g7ui9hiLdhDz45 8nRCZ+XwB8axrzYFpgC/6S4h68RH8qF+u8cylGRHzZ/0Y8vVOl7g3iSenWa5PoLmuckX rJ6YDSU6eF0dnWt4y31L37BN9XXhl1stMSfvt8xYu1dKjK/Sq0nqQiVCdqIy44EH0O66 x6oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750692757; x=1751297557; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iCq1iu4mq4ZksK2S/k+gmNCMBKMf9Ip4YsDdneAEST4=; b=GMxYAE5BotV+jdk9m+0wFEVEANJpkU2AgKxTRr0QKvHuHrUoY5L8clh5X+DCMjvvvO 45CeF47qg9iqzwKFBvfxI0npPaDTFgePlg2y9iNUcvb+OaUl79RlLxrr/MpHinfyuP+u NzYx+Rcv3aS2Qy3iUr1LyzA3Zzz4+9I1q9O5A2fQyr54YXNBERFKfu/0EHUaOlvizO+i kZdpb9B5/gJtBh9fJN4OzQek/DWnGu6MFsDRci16JvVpoYUSVSSw3UlURAsBVx7IUVyN fX2Z4eW/GlIPdKuBG8VYEgoiWUhjsC2ygNdgWeF9nanYLHj61lsQONPg1znkfIdIY6ex Gn4g== X-Gm-Message-State: AOJu0YxNl7C34qf/sNai0mMSPYVe6sAaGYc4//NYDXeQYDXgXwmaqcr4 ZBjTAe9qN8QcX6HULXxzFUPYit/U72TDyYNPjFRbfSpOCDADEVHzGI4UdsjanLOIRmcAOsf1KYE 01DeQX6dW1wBpkZB45WUQca7qH6O5fL96DuUDBEDB13R/c6V1FAEmhw== X-Gm-Gg: ASbGncuRQ9bEBhZu619pa0Air5OiGs76fZIMwDVLkFjhn/bn9e0uaEgXk0cE5IAO5PD 8d8RbksrDUuFF4LFd0w6z2Z65QjfVuuDZnndmc3KejPilNvvFQ0J5r/IXSektO5czDflZRZvC6Y ldpG0yZbS6XhKuoPaIH1ANNY0tPsbOE8JLdWGwMwpOml9/v1lOZxexUw== X-Google-Smtp-Source: AGHT+IG7y54gNBluTT9feyUkgNJazPeZLwhuslm2uwsevcUWWnUWT6F6XrL4I7oG3nOZmWa+xGw9EL52DVuh3mCPozc= X-Received: by 2002:a05:6214:5413:b0:6fb:4c6d:d4d9 with SMTP id 6a1803df08f44-6fd0a46841emr210958776d6.13.1750692757346; Mon, 23 Jun 2025 08:32:37 -0700 (PDT) MIME-Version: 1.0 References: <83C44AB4-24B0-437F-B139-B5CBC5821BB1@yesql.se> <32e5741d-3dc8-4b15-8c56-cfb26483563c@tantorlabs.com> In-Reply-To: <32e5741d-3dc8-4b15-8c56-cfb26483563c@tantorlabs.com> From: Jacob Champion Date: Mon, 23 Jun 2025 08:32:26 -0700 X-Gm-Features: Ac12FXxBFOXHYvZLWjdmc3TTUcYgz2rIai5xoBZLQw-0uvaIo8CxFWyQt9LJ1tU Message-ID: Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER To: Ivan Kush Cc: PostgreSQL Hackers , lev.nikolaev@tantolabs.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Jun 20, 2025 at 3:08=E2=80=AFAM Ivan Kush wrote: > > Hello! > > This patch fixes CPPFLAGS, LDFLAGS, LIBS when checking AsyncDNS libcurl > support in configure Hi Ivan, thanks for the report! Your patch puts new logic directly after an AC_MSG_ERROR() call, so any effect has to come from the fact that we're no longer restoring the old compiler and linker flags. That's not what we want -- Curl needs to be isolated from the rest of the build. Let's focus on the error you're seeing: > After compilation during testing some Postgres shared libraries or > binaries that was linked with libcurl showed an error "version > CURL_OPENSSL_3 not found (required by =E2=80=A6/libcurl.so.4)" What's your configure line? You need to make sure that your custom libcurl is used at configure-time, compile-time, and run-time. And which binaries are complaining? The only thing that should ever be linked against libcurl is libpq-oauth-18.so. Thanks, --Jacob