Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile python 2.7.14 with ssl while updating
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
lowperf
n00b
n00b


Joined: 20 Aug 2009
Posts: 4

PostPosted: Mon Feb 05, 2018 6:19 pm    Post subject: Can't compile python 2.7.14 with ssl while updating Reply with quote

Hello World,

I can't build python-2.7.14-r1 with ssl but with libressl. Do I need to migrate to libressl?

This is what I find in the end of the "emerge text".

Code:
Python build finished, but the necessary bits to build these modules were not found:
_bsddb             bsddb185           dl             
imageop            nis                sunaudiodev     
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

Failed to build these modules:
_hashlib           _ssl
...
make: *** [Makefile:530: sharedmods] Error 1


I have all the Output of "emerge -av =dev-lang/python-2.7.14-r1" in text file and was looking for some hints and I found this:

Code:
 *** WARNING: renaming "_hashlib" since importing it failed: build/lib.linux-x86_64-2.7/_hashlib.so: undefined symbol: OpenSSL_add_all_digests


But now I need some help, that's why I am asking here. Thank you for reading.

(If you need more output, please let me know...)
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 20124
Location: here

PostPosted: Mon Feb 05, 2018 6:24 pm    Post subject: Reply with quote

Typicall openssl-1.1.0 problem.
Downgrade openssl from 1.1.0g-r2 to 1.0.2n
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
lowperf
n00b
n00b


Joined: 20 Aug 2009
Posts: 4

PostPosted: Tue Feb 06, 2018 11:00 am    Post subject: Reply with quote

Thanks a lot. It works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum