Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jan 2016 20:40:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   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
Message-ID:  <bug-205960-21822-DHZOODsJoT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205960-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205960-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

Bernard Spil <brnrd@freebsd.org> has asked FreeBSD Python <python@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@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.


help

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