Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Stop Depending on SSLv2 symbols #8880
Comments
|
Duplicate of #8767. It's not a fault of youtube-dl but Python. You'll need to rebuid your Python against new OpenSSL. |
SSLv2 is being completely removed from recent versions of OpenSSL and LibreSSL. Blindly importing instead of importing only the symbols actually needed leads to errors like this on platforms without SSLv2:
$ youtube-dl -U
Traceback (most recent call last):
File "/opt/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/opt/local/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/jon/bin/youtube-dl/main.py", line 16, in
File "/home/jon/bin/youtube-dl/youtube_dl/init.py", line 15, in
File "/home/jon/bin/youtube-dl/youtube_dl/options.py", line 7, in
File "/home/jon/bin/youtube-dl/youtube_dl/downloader/init.py", line 3, in
File "/home/jon/bin/youtube-dl/youtube_dl/downloader/common.py", line 8, in
File "/home/jon/bin/youtube-dl/youtube_dl/utils.py", line 27, in
File "/opt/local/lib/python2.7/ssl.py", line 97, in
import _ssl # if we can't import it, let the error propagate
ImportError: ld.so.1: python2.7: fatal: relocation error: file /opt/local/lib/python2.7/lib-dynload/_ssl.so: symbol SSLv2_method: referenced symbol not found
This is on Illumos.