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.96) (envelope-from ) id 1wAQx2-002Ncd-1N for pgsql-general@arkaria.postgresql.org; Wed, 08 Apr 2026 11:20:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAQx0-006jeQ-05 for pgsql-general@arkaria.postgresql.org; Wed, 08 Apr 2026 11:20:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wAQwz-006jeG-20 for pgsql-general@lists.postgresql.org; Wed, 08 Apr 2026 11:20:02 +0000 Received: from ms-10.1blu.de ([178.254.4.101]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wAQwx-00000001CxZ-2cvU for pgsql-general@lists.postgresql.org; Wed, 08 Apr 2026 11:20:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=unixarea.de ; s=blu3434000; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Reply-To:Message-ID:Subject:To:From:Date:Sender:Cc: Content-ID:Content-Description; bh=xeDryKXSfGFjMglH8BE1eNHDOBzv4VOifZn0vdH4qlA=; b=d4rmjWN7mrgje+QVxUEEXPSVct ElrORkY3CEBPsRXdfWhgkhrzL0WPgq9xtikkxsYZn1G6sDeKkvK52gU3pCi2rus0oU8A6pPTirwT7 W+EV4jHWmhpbyue7FTnUMBeET0jPfEnLFZs0TSKW6ua5h8IHdKa2mR1oSnm0NzfYRF0C0cGYLiWQ8 df4KOquftW2Fz2L0hN3MzRMB4PJP3q0PhgGoAD+iDdER16v9XVgdi9XsyOVqQX+1eSJUGY23l/FIJ Mn1x8i494J7tGDGqRjjvvONqgKAT8Xz1h8Pw49ltbT1lHhRwnfBYRBFPg4B7ZYnO8z7jHNfB3EL6M +FRfxhYg==; Received: from [212.222.85.178] (helo=pureos) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wAQwv-00HMD6-7a; Wed, 08 Apr 2026 13:19:57 +0200 Date: Wed, 8 Apr 2026 13:19:55 +0200 From: Matthias Apitz To: Tom Lane , pgsql-general@lists.postgresql.org Subject: Re: configure && --with Message-ID: Reply-To: Matthias Apitz References: <2040885.1775571708@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 14.0-CURRENT 1400094 (amd64) X-message-flag: Mails in HTML will not be read! Send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 212.222.85.178 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk El día miércoles, abril 08, 2026 a las 11:02:07 +0200, Matthias Apitz escribió: > El día miércoles, abril 08, 2026 a las 08:57:24 +0200, Matthias Apitz escribió: > > > Thanks for your hints. I do use now: > > > > $ ./configure --prefix=/usr/local/sisis-pap/pgsql-18.3 \ > > --libdir=/usr/local/sisis-pap/pgsql-18.3/lib \ > > --with-includes=/usr/local/sisis-pap/include \ > > --with-libraries=/usr/local/sisis-pap/lib \ > > --enable-nls \ > > --with-perl \ > > --with-ldap \ > > --with-pam \ > > --without-icu \ > > --with-openssl > > I did y quick fix in ./configure and with this I get in config.log: ... configure:14192: checking for openssl configure:14210: found /usr/local/sisis-pap/bin/openssl configure:14222: result: /usr/local/sisis-pap/bin/openssl configure:14246: using openssl: OpenSSL 3.5.6 7 Apr 2026 (Library: OpenSSL 3.5.6 7 Apr 2026) configure:14249: checking openssl/ssl.h usability ... The change is: diff -c configure.orig configure *** configure.orig Mon Feb 23 22:56:43 2026 --- configure Wed Apr 8 13:06:57 2026 *************** *** 14238,14244 **** --- 14238,14248 ---- $as_echo "$OPENSSL" >&6; } fi + # see line 3109 for LIBRARY_DIRS + LD_LIBRARY_PATH_SAVED=$LD_LIBRARY_PATH + LD_LIBRARY_PATH=$LIBRARY_DIRS:$LD_LIBRARY_PATH pgac_openssl_version="$($OPENSSL version 2> /dev/null || echo openssl not found)" + LD_LIBRARY_PATH=$LD_LIBRARY_PATH_SAVED { $as_echo "$as_me:${as_lineno-$LINENO}: using openssl: $pgac_openssl_version" >&5 $as_echo "$as_me: using openssl: $pgac_openssl_version" >&6;} if test "$with_ssl" = openssl ; then The bug/issue with "--with-libraries=LIB" is that the specified lib dir(s) are used for linker statement, but never for run time statements: 8096 # 8097 # Library directories 8098 # 8099 ac_save_IFS=$IFS 8100 IFS="${IFS}${PATH_SEPARATOR}" 8101 # LIBRARY_DIRS comes from command line, SRCH_LIB from template file. 8102 for dir in $LIBRARY_DIRS $SRCH_LIB; do 8103 if test -d "$dir"; then 8104 LIBDIRS="$LIBDIRS -L$dir" 8105 else ... My fix is dirty and should not stay like this. It only points to the problem. HIH matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub Annalena Baerbock: "We are fighting a war against Russia ..." (25.1.2023) I, Matthias, I am not at war with Russia. Я не воюю с Россией. Ich bin nicht im Krieg mit Russland.