[Bug 210963] lang/python27: Failed to compile with security/openssl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 10 15:19:25 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210963

--- Comment #3 from Fukang Chen <loader at 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 
# 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=revision&revision=280306

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

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-python mailing list