[MacPorts] #71928: postgresql82 @8.2.23_5 does not build on PPC Mac OS X 10.4.11, Tiger, because of checking for SSL_library_init in -lssl... no

MacPorts noreply at macports.org
Fri Jan 24 15:44:21 UTC 2025


#71928: postgresql82 @8.2.23_5  does not build on PPC Mac OS X 10.4.11, Tiger,
because of checking for SSL_library_init in -lssl... no
-----------------------+--------------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.10.5
 Keywords:  tiger ppc  |       Port:  postgresql82
-----------------------+--------------------------
 {{{
 checking for CRYPTO_new_ex_data in -lcrypto... yes
 checking for SSL_library_init in -lssl... no
 configure: error: library 'ssl' is required for OpenSSL
 Command failed:  cd
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_postgresql82/postgresql82/work/postgresql-8.2.23"
 && ./configure --prefix=/opt/local
 --sysconfdir=/opt/local/etc/postgresql82
 --bindir=/opt/local/lib/postgresql82/bin
 --libdir=/opt/local/lib/postgresql82
 --includedir=/opt/local/include/postgresql82
 --datadir=/opt/local/share/postgresql82 --mandir=/opt/local/share/man
 --without-docdir --with-includes=/opt/local/include --with-
 libraries=/opt/local/lib --with-openssl --with-bonjour --with-readline
 --with-zlib --enable-thread-safety --enable-integer-datetimes --with-perl
 Exit code: 1
 Error: Failed to configure postgresql82: consult
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_postgresql82/postgresql82/work/postgresql-8.2.23/config.log
 }}}

 `config.log` contains:

 {{{
 configure:7020: checking for SSL_library_init in -lssl
 configure:7050: /opt/local/bin/gcc-apple-4.2 -no-cpp-precomp -o conftest
 -pipe -Os -arch ppc -Wall -Wmissing-prototypes -Wpointer-arith -Winline
 -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
 -I/opt/local/include  -I/opt/local/include -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch ppc  -L/opt/local/lib conftest.c
 -lssl  -lcrypto -lz -lreadline -lm  >&5
 Undefined symbols:
   "_SSL_library_init", referenced from:
       _main in ccRcAAhx.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 configure:7056: $? = 1
 configure: failed program was:
 | /* confdefs.h.  */
 |
 | #define PACKAGE_NAME "PostgreSQL"
 | #define PACKAGE_TARNAME "postgresql"
 | #define PACKAGE_VERSION "8.2.23"
 | #define PACKAGE_STRING "PostgreSQL 8.2.23"
 | #define PACKAGE_BUGREPORT "pgsql-bugs at postgresql.org"
 | #define PG_VERSION "8.2.23"
 | #define USE_INTEGER_DATETIMES 1
 | #define DEF_PGPORT 5432
 | #define DEF_PGPORT_STR "5432"
 | #define PG_VERSION_STR "PostgreSQL 8.2.23 on powerpc-apple-darwin8.11.0,
 compiled by GCC powerpc-apple-darwin8-gcc-apple-4.2.4 (GCC) 4.2.4 (Apple
 Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3)"
 | #define ENABLE_THREAD_SAFETY 1
 | #define PG_KRB_SRVNAM "postgres"
 | #define USE_BONJOUR 1
 | #define USE_SSL 1
 | #define PG_VERSION_NUM 80223
 | #define HAVE_LIBM 1
 | #define HAVE_LIBREADLINE 1
 | #define HAVE_LIBZ 1
 | #define HAVE_SPINLOCKS 1
 | #define HAVE_LIBCRYPTO 1
 | /* end confdefs.h.  */
 |
 | /* Override any GCC internal prototype to avoid an error.
 |    Use char because int might match the return type of a GCC
 |    builtin and then its argument prototype would still apply.  */
 | #ifdef __cplusplus
 | extern "C"
 | #endif
 | char SSL_library_init ();
 | int
 | main ()
 | {
 | return SSL_library_init ();
 |   ;
 |   return 0;
 | }
 configure:7082: result: no
 configure:7092: error: library 'ssl' is required for OpenSSL
 }}}

 `SSL_library_init()` is part of `SSL 1.0`. The issue is similar to #71786.

-- 
Ticket URL: <https://trac.macports.org/ticket/71928>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list