From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | cc(at)cj3(dot)cc |
Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #18980: Unable to perform make due to inability to resolve a variety of Undefined symbols arm64 |
Date: | 2025-07-07 21:47:37 |
Message-ID: | 585098.1751924857@sss.pgh.pa.us |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> Although I was able to compile and link 18beta1 source code on a very old
> mid-2010 iMac running MacOSX 10.13.6 [High Sierra], I could NOT compile and
> link PostgreSQL version 18beta1 source on my new M4 Pro Mac Book Pro running
> Mac OS Tahoe; *** also failed to compile and link on this same machine
> running Mac OS 15.5***
That does work for me, and for quite a few other people.
> Errors resulting from attempting to perform a make on PostgreSQL version
> 18beta1 look like:
> 177 Undefined symbols for architecture arm64:
> 178 "_ASN1_INTEGER_to_BN", referenced from:
> 179 _verify_cb in be-secure-openssl.o
> 180 _be_tls_get_peer_serial in be-secure-openssl.o
> 181 "_ASN1_STRING_print_ex", referenced from:
> 182 _X509_NAME_to_cstring in be-secure-openssl.o
All of these missing symbols seem to be from OpenSSL, which I don't
understand because your configure command didn't say --with-openssl.
Are you sure that's actually the full set of options you're using?
Maybe you have a stale autoconf cache you need to clean out?
If you are using --with-openssl, I wonder which OpenSSL you are
using. Apple deprecated their system-library version of that
long ago, and perhaps it's finally gone in Tahoe. Most of us
use Homebrew or MacPorts to install a version of the openssl
libraries that we can use with PG. If you are trying to do it
like that, I think the problem is that you're missing --with-includes
and --with-libs configure options to point at that installation.
For instance, I use
--with-includes=/opt/local/include --with-libs=/opt/local/lib
to build with MacPorts' openssl.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | PG Bug reporting form | 2025-07-08 09:26:21 | BUG #18981: Fault tolerance and improvement for xmltotext_with_options (xml.c) |
Previous Message | PG Bug reporting form | 2025-07-07 21:04:15 | BUG #18980: Unable to perform make due to inability to resolve a variety of Undefined symbols arm64 |