Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jul 2016 15:19:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 210963] lang/python27: Failed to compile with security/openssl
Message-ID:  <bug-210963-21822-18z84IEzXL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-210963-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-210963-21822@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #3 from Fukang Chen <loader@FreeBSD.org> ---
Thank you koobs@ for the link. Yes, that's the same problem.

I think I know why it works on 10.3, it searches /usr/lib for
libssl.so.8 first, but there's only libssl.so.7 there.

# readelf -d /usr/local/lib/python2.7/lib-dynload/_ssl.so | head -n 10

Dynamic section at offset 0x13be0 contains 27 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libthr.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.8]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.8]
 0x0000000000000001 (NEEDED)             Shared library: [libpython2.7.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.7]
 0x000000000000000f (RPATH)              Library rpath:
[/usr/lib:/usr/local/lib]
 0x000000000000001d (RUNPATH)            Library runpath:
[/usr/lib:/usr/local/lib]

# echo /usr/lib/libssl.so*
/usr/lib/libssl.so /usr/lib/libssl.so.7

It's has been upgraded to libssl.so.8 on 11.0-CURRENT=20
# echo /usr/lib/libssl.so*
/usr/lib/libssl.so /usr/lib/libssl.so.8

SSLv2 has been disabled in base:
https://svnweb.freebsd.org/base?view=3Drevision&revision=3D280306

SSlv2 is still enabled in the port security/openssl:
https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D410039

On 11.0-CURRENT /usr/local/lib/python2.7/lib-dynload/_ssl.so=20
can't find SSLv2_method from /usr/lib/libssl.so.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
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-210963-21822-18z84IEzXL>