[MacPorts] #71786: postgresql82 @8.2.23_5 does not build on PPC Leopard, Mac OS X 10.5.8, because of faulty dependency

MacPorts noreply at macports.org
Wed Jan 8 09:57:51 UTC 2025


#71786: postgresql82 @8.2.23_5  does not build on PPC Leopard, Mac OS X 10.5.8,
because of faulty dependency
-------------------------+--------------------------
 Reporter:  ballapete    |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.10.5
 Keywords:  leopard 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
 Error: Failed to configure postgresql82: configure failure: command
 execution failed
 }}}

 Config.log contains:

 {{{
 configure:7020: checking for SSL_library_init in -lssl
 configure:7050: /usr/bin/gcc-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 ccUoWgig.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-darwin9.8.0,
 compiled by GCC powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc.
 build 5577)"
 | #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` can be found in `openssl10`.

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


More information about the macports-tickets mailing list