Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2019 15:29:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241591] ftp/php74-ftp: Undefined symbol "SSL_library_init"
Message-ID:  <bug-241591-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241591

            Bug ID: 241591
           Summary: ftp/php74-ftp: Undefined symbol "SSL_library_init"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: tz@freebsd.org
          Reporter: pascal.christen@hostpoint.ch
             Flags: maintainer-feedback?(tz@freebsd.org)
          Assignee: tz@freebsd.org

When having PHP 7.4 installed with the php74-ftp package it fails to start:
# /usr/local/php74/bin/php
/usr/local/php74/lib/php/20190902/ftp.so: Undefined symbol "SSL_library_ini=
t"

I guess it has to do with OpenSSL 1.1.1 and the deprecated "SSL_library_ini=
t".
Comparing PHP7.3 (Built with OpenSSL 1.1.1) and PHP7.4:

# readelf -a /usr/local/php74/lib/php/20190902/ftp.so  | grep SSL_library_i=
nit
00000020f6f0  004c00000007 R_X86_64_JUMP_SLO 0000000000000000 SSL_library_i=
nit
+ 0
    76: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND SSL_library_init
   223: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND SSL_library_init

# readelf -a /usr/local/php73/lib/php/20180731/ftp.so  | grep OPENSSL_init
00000020eb30  004c00000007 R_X86_64_JUMP_SLO 0000000000000000
OPENSSL_init_ssl@OPENSSL_1_1_0 + 0
00000020ebb8  005d00000007 R_X86_64_JUMP_SLO 0000000000000000
OPENSSL_init_crypto@OPENSSL_1_1_0 + 0
    76: 0000000000000000   238 FUNC    GLOBAL DEFAULT  UND
OPENSSL_init_ssl@OPENSSL_1_1_0 (3)
    93: 0000000000000000   962 FUNC    GLOBAL DEFAULT  UND
OPENSSL_init_crypto@OPENSSL_1_1_0 (4)
   232: 0000000000000000   238 FUNC    GLOBAL DEFAULT  UND
OPENSSL_init_ssl@@OPENSSL
   254: 0000000000000000   962 FUNC    GLOBAL DEFAULT  UND
OPENSSL_init_crypto@@OPEN

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241591-7788>