maintainer-approval requested: [Bug 205960] lang/python35: (and lang/python34) building with LibreSSL fails: lib-dynload/_ssl.so: No such file or directory : [Attachment 165181] svn diff for lang/python35

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 6 20:40:47 UTC 2016


Bernard Spil <brnrd at freebsd.org> has asked FreeBSD Python <python at FreeBSD.org>
for maintainer-approval:
Bug 205960: lang/python35: (and lang/python34) building with LibreSSL fails:
lib-dynload/_ssl.so: No such file or directory
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205960

Attachment 165181: svn diff for lang/python35
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=165181&action=edit



--- Comment #4 from Bernard Spil <brnrd at freebsd.org> ---
Created attachment 165181
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=165181&action=edit
svn diff for lang/python35

There's definitely something wrong with the CFLAGS, configure is using the libs
from base not ports.

configure:9276: checking for RAND_egd in -lcrypto
configure:9301: cc -o conftest -O2 -pipe -fno-omit-frame-pointer 
-fstack-protector -fno-strict-aliasing	 -lpthread -Wl,-rpath,/usr/local/lib
-Wl,-rpath=/usr/lib:/usr/local/lib -fstack-protector conftest.c -lcrypto   >&5
configure:9301: $? = 0
configure:9310: result: yes

This patch changes behaviour to use the define from opensslfeatures.h. At build
time the correct include is done.


More information about the freebsd-python mailing list