[linux][kodi18] build + Openssl v11 fails @link, referencing undefd v1.0 syms ?

I'm working on a build of kodi18 trunk,

Code:
    git log | head
        commit 9e368f27c912b62d97d9f934ca434bc9f5f684d8
        Merge: 4fea28c221 d59a3409a8
        Author: Garrett Brown <[email protected]>
        Date:   Sun Apr 2 13:47:33 2017 -0700

            Merge pull request #11925 from garbear/update-headers

            Copyright header update for games, joysticks and RetroPlayer

        commit 4fea28c2210a53df804dbf2ba1fda5454aa3a415

on linux64, + ffmpeg bumped to xbmc/3.2 branch, FMT 3.0.1-branch, & openssl 1.1.0e libs & headers

with my as-usual cmake config,

Code:
cmake .. \
...
  -DENABLE_OPENSSL=1 \
   -DOPENSSL_INCLUDE_DIR=/usr/local/openssl11/include \
   -DOPENSSL_CRYPTO_LIBRARY=/usr/local/openssl11/lib64/libcrypto.so \
   -DOPENSSL_SSL_LIBRARY=/usr/local/openssl11/lib64/libssl.so \
...

build makes it all the way through 'til link time, failing at

Code:
Scanning dependencies of target libkodi
gmake[2]: Leaving directory '/work/kodi18/kodi/build'
/usr/bin/gmake -f CMakeFiles/libkodi.dir/build.make CMakeFiles/libkodi.dir/build
gmake[2]: Entering directory '/work/kodi18/kodi/build'
[100%] Linking CXX static library libkodi.a
/usr/bin/cmake -P CMakeFiles/libkodi.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/libkodi.dir/link.txt --verbose=1
/usr/bin/ar qc libkodi.a  CMakeFiles/compileinfo.dir/build/xbmc/CompileInfo.cpp.o
/usr/bin/ranlib libkodi.a
gmake[2]: Leaving directory '/work/kodi18/kodi/build'
[100%] Built target libkodi
/usr/bin/gmake -f CMakeFiles/kodi.dir/build.make CMakeFiles/kodi.dir/depend
gmake[2]: Entering directory '/work/kodi18/kodi/build'
cd /work/kodi18/kodi/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /work/kodi18/kodi /work/kodi18/kodi /work/kodi18/kodi/build /work/kodi18/kodi/build /work/kodi18/kodi/build/CMakeFiles/kodi.dir/DependInfo.cmake --color=
Dependee "/work/kodi18/kodi/build/CMakeFiles/kodi.dir/DependInfo.cmake" is newer than depender "/work/kodi18/kodi/build/CMakeFiles/kodi.dir/depend.internal".
Dependee "/work/kodi18/kodi/build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/work/kodi18/kodi/build/CMakeFiles/kodi.dir/depend.internal".
Scanning dependencies of target kodi
gmake[2]: Leaving directory '/work/kodi18/kodi/build'
/usr/bin/gmake -f CMakeFiles/kodi.dir/build.make CMakeFiles/kodi.dir/build
gmake[2]: Entering directory '/work/kodi18/kodi/build'
[100%] Building CXX object CMakeFiles/kodi.dir/xbmc/platform/posix/main.cpp.o
/usr/bin/g++   -DNPT_CONFIG_ENABLE_LOGGING -Dkodi_EXPORTS -I/work/kodi18/kodi -I/work/kodi18/kodi/lib -I/work/kodi18/kodi/lib/gtest/include -I/work/kodi18/kodi/xbmc -I/work/kodi18/kodi/xbmc/linux -I/work/kodi18/kodi/xbmc/cores/VideoPlayer -I/work/kodi18/kodi/build/build -I/work/kodi18/kodi/build/build/cpluff/include -I/work/kodi18/kodi/build/build/include -I/usr/local/include -I/work/kodi18/kodi/build/build/libdvd/include -I/usr/include/lzo -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/local/mariadb/include -I/usr/include/python2.7 -I/usr/include/libxml2 -I/usr/include/libdrm -I/work/kodi18/kodi/lib/libUPnP -I/work/kodi18/kodi/lib/libUPnP/Platinum/Source/Core -I/work/kodi18/kodi/lib/libUPnP/Platinum/Source/Platinum -I/work/kodi18/kodi/lib/libUPnP/Platinum/Source/Devices/MediaConnect -I/work/kodi18/kodi/lib/libUPnP/Platinum/Source/Devices/MediaRenderer -I/work/kodi18/kodi/lib/libUPnP/Platinum/Source/Devices/MediaServer -I/work/kodi18/kodi/lib/libUPnP/Platinum/Source/Extras -I/work/kodi18/kodi/lib/libUPnP/Neptune/Source/Core -I/work/kodi18/kodi/lib/libUPnP/Neptune/Source/System/Posix  -O3 -Wall -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fmessage-length=0 -grecord-gcc-switches -march=native -mtune=native -std=c++11 -I/usr/include/freetype2 -I/usr/local/include -O3 -DNDEBUG -s   -D_LINUX -DTARGET_POSIX -DTARGET_LINUX -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -D__STDC_CONSTANT_MACROS -D_FILE_DEFINED -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STD__U16_STRING=1 -DHAVE_STD__U32_STRING=1 -DHAVE_CHAR16_T=1 -DHAVE_CHAR32_T=1 -DHAVE_STDINT_H=1 -DHAS_BUILTIN_SYNC_ADD_AND_FETCH=1 -DHAS_BUILTIN_SYNC_SUB_AND_FETCH=1 -DHAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP=1 -DHAVE_INOTIFY=1 -DHAVE_POSIX_FADVISE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_INTTYPES_H=1 -DFFMPEG_VER_SHA=\"release/3.2-xbmc\" -DUSE_STATIC_FFMPEG=1 -I/usr/include/fribidi -DHAVE_ALSA=1 -DUSE_ALSA=1 -DHAVE_DBUS=1 -DHAVE_LCMS2=1 -DHAVE_LIBMICROHTTPD=1 -DHAVE_MYSQL=1 -DHAS_PYTHON=1 -DHAVE_LIBSSH=1 -DHAVE_LIBUDEV=1 -DHAVE_LIBVA=1 -DHAVE_LIBVDPAU=1 -DHAVE_LIBXSLT=1 -DHAVE_LIBBLURAY=1 -DHAVE_LIBCEC=1 -DHAVE_LIBNFS=1 -DHAVE_OPENSSL=1 -DUSE_UPNP=1 -DHAVE_XBMC_NONFREE=1 -DHAS_DVD_DRIVE -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DHAVE_LIRC=1 -DHAVE_LIBGL=1 -DHAVE_X11=1 -DHAVE_LIBXRANDR=1 -DHAVE_LIBEGL=1 -DBIN_INSTALL_PATH=\"/usr/local/kodi/lib64/kodi\" -DINSTALL_PATH=\"/usr/local/kodi/share/kodi\" -std=c++11 -o CMakeFiles/kodi.dir/xbmc/platform/posix/main.cpp.o -c /work/kodi18/kodi/xbmc/platform/posix/main.cpp
[100%] Linking CXX executable kodi.bin
/usr/bin/cmake -E cmake_link_script CMakeFiles/kodi.dir/link.txt --verbose=1
/work/kodi18/kodi/build/build/ffmpeg-link-wrapper /usr/bin/g++  -O3 -Wall -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fmessage-length=0 -grecord-gcc-switches -march=native -mtune=native -std=c++11 -I/usr/include/freetype2 -I/usr/local/include -O3 -DNDEBUG -s  -L/usr/local/lib64 -Wl,-rpath,/usr/local/lib64 -fuse-ld=gold -Wl,--export-dynamic CMakeFiles/kodi.dir/xbmc/platform/posix/main.cpp.o -o kodi.bin -Wl,-rpath,/usr/local/lib64:/usr/local/mariadb/lib64:/usr/local/openssl11/lib64: -rdynamic -Wl,--whole-archive build/network/httprequesthandler/python/network_httprequesthandlers_python.a build/network/httprequesthandler/network_httprequesthandlers.a build/network/upnp/network_upnp.a build/upnp/libupnp.a build/build/swig/libpython_binding.a build/interfaces/python/python_interface.a build/interfaces/legacy/wsgi/legacy_interface_wsgi.a build/interfaces/legacy/legacy_interface.a build/rendering/gl/rendering_gl.a build/unrarxlib/libunrarxlib.a build/cdrip/cdrip.a build/posix/platform_posix.a build/windowing/X11/windowing_X11.a build/utils_posix/utils_posix.a build/filesystem/posix/filesystem_posix.a build/storage/linux/storage_linux.a build/powermanagement/linux/powermanagement_linux.a build/peripherals/bus/linux/peripherals_bus_linux.a build/network/linux/network_linux.a build/input/touch/generic/input_touch_generic.a build/input/touch/input_touch.a build/input/linux/input_linux.a build/linuxsupport/linuxsupport.a build/cores/VideoPlayer/videorenderers/hwdec/videorenderers_hwdec.a build/cores/VideoPlayer/videorenderers/shaders/videoshaders.a build/cores/VideoPlayer/videorenderers/videorenderers.a build/cores/VideoPlayer/process/process.a build/cores/VideoPlayer/subtitles/dvdsubtitles.a build/cores/VideoPlayer/inputstreams/dvdinputstreams.a build/cores/VideoPlayer/demuxers/dvddemuxers.a build/cores/VideoPlayer/codecs/video/dvdvideocodecs.a build/cores/VideoPlayer/codecs/overlay/dvdoverlaycodecs.a build/cores/VideoPlayer/codecs/audio/dvdaudiocodecs.a build/cores/VideoPlayer/codecs/dvdcodecs.a build/cores/VideoPlayer/VideoPlayer.a build/video/windows/video_windows.a build/video/jobs/video_jobs.a build/video/dialogs/video_dialogs.a build/video/video.a build/windows/windows.a build/windowing/windowing.a build/view/view.a build/utils/utils.a build/threads/threads.a build/storage/storage.a build/rendering/rendering.a build/programs/programs.a build/powermanagement/powermanagement.a build/playlists/playlists.a build/platform/platform_common.a build/pictures/pictures.a build/messagingHelpers/messagingHelpers.a build/messaging/messaging.a build/media/media.a build/listproviders/listproviders.a build/input/mouse/generic/input_mouse_generic.a build/input/mouse/input_mouse.a build/input/keyboard/generic/input_keyboard_generic.a build/input/keyboard/input_keyboard.a build/input/joysticks/generic/input_joystick_generic.a build/input/joysticks/dialogs/input_joystick_dialogs.a build/input/joysticks/input_joystick.a build/input/input.a build/guilib/guilib.a build/epg/epg.a build/dialogs/dialogs.a build/dbwrappers/dbwrappers.a build/commons/commons.a build/addonCallbacks_PVR/addonInterface_PVR.a build/addonCallbacks_Peripheral/addonInterface_Peripheral.a build/addonCallbacks_InputStream/addonInterface_InputStream.a build/addonCallbacks_GUI/addonInterface_GUI.a build/addonCallbacks_Game/addonCallbacks_Game.a build/addonCallbacks_Codec/addonInterface_Codec.a build/addonCallbacks_AudioEngine/addonInterface_AudioEngine.a build/addonCallbacks_AudioDSP/addonInterface_AudioDSP.a build/addonCallbacks_Addon/addonInterface_Addon.a build/addonsBinaryInterfaces/addonsBinaryInterfaces.a build/addons/addons.a build/xbmc/xbmc.a build/settings/windows/settings_windows.a build/settings/lib/settings_lib.a build/settings/dialogs/settings_dialogs.a build/settings/settings.a build/pvr/windows/pvr_windows.a build/pvr/timers/pvr_timers.a build/pvr/recordings/pvr_recordings.a build/pvr/dialogs/pvr_dialogs.a build/pvr/channels/pvr_channels.a build/pvr/addons/pvr_addons.a build/pvr/pvr.a build/profiles/windows/profiles_windows.a build/profiles/dialogs/profiles_dialogs.a build/profiles/profiles.a build/peripherals/dialogs/peripherals_dialogs.a build/peripherals/devices/peripherals_devices.a build/peripherals/bus/virtual/peripheral_bus_virtual.a build/peripherals/bus/peripherals_bus.a build/peripherals/addons/peripherals_addons.a build/peripherals/peripherals.a build/network/websocket/network_websockets.a build/network/network.a build/music/windows/music_windows.a build/music/tags/music_tags.a build/music/infoscanner/music_infoscanner.a build/music/dialogs/music_dialogs.a build/music/music.a build/interfaces/json-rpc/jsonrpc_interface.a build/interfaces/info/info_interface.a build/interfaces/generic/generic_interface.a build/interfaces/builtins/interfaces_builtins.a build/interfaces/interfaces.a build/games/windows/gameswindows.a build/games/tags/gametags.a build/games/ports/gameports.a build/games/dialogs/gamedialogs.a build/games/controllers/windows/games_controller_windows.a build/games/controllers/guicontrols/games_controller_guicontrols.a build/games/controllers/dialogs/games_controller_dialogs.a build/games/controllers/games_controller.a build/games/addons/savestates/gamesavestates.a build/games/addons/playback/gameplayback.a build/games/addons/gameaddons.a build/games/games.a build/filesystem/musicdatabase/musicdatabasedirectory.a build/filesystem/videodatabase/videodatabasedirectory.a build/filesystem/filesystem.a build/kissfft/kissfft.a build/events/windows/events_windows.a build/events/events.a build/cores/RetroPlayer/retroplayer.a build/cores/playercorefactory/playercorefactory.a build/cores/paplayer/paplayer.a build/cores/externalplayer/externalplayer.a build/cores/dll-loader/exports/util/exports_utils.a build/cores/dll-loader/exports/dllexports.a build/cores/dll-loader/dllloader.a build/cores/audioengine/audioengine.a build/cores/cores.a -Wl,--no-whole-archive libkodi.a -lpthread -lcdio build/lib/libcrossguid.a -luuid /usr/local/lib64/libfmt.so -lfreetype -lfribidi build/libdvd/lib/libdvdnav.a build/libdvd/lib/libdvdread.a build/libdvd/lib/libdvdcss.a -llzo2 /usr/local/lib64/libpcrecpp.so /usr/local/lib64/libpcre.so -lsqlite3 -ltag -ltinyxml -lz -lasound -lbluetooth -lcap -ldbus-1 -llcms2 /usr/local/lib64/libmicrohttpd.so -lmicrohttpd -lgcrypt -ldl -lgpg-error -lgnutls -lz -lp11-kit -lgmp -lhogweed -lgmp -lnettle -ltasn1 -lp11-kit -lz /usr/local/mariadb/lib64/libmariadb.so -lpython2.7 -lpthread -ldl -lutil -lpython2.7 /usr/local/lib64/libssh2.so -ludev -lva -lva-x11 -lva-drm /usr/local/lib64/libvdpau.so -lxslt -lxml2 /usr/local/openssl11/lib64/libssl.so /usr/local/openssl11/lib64/libcrypto.so -lGL -lGLU -lX11 -lXext -lXrandr -ldrm -lEGL build/network/httprequesthandler/python/network_httprequesthandlers_python.a build/network/httprequesthandler/network_httprequesthandlers.a build/network/upnp/network_upnp.a build/build/swig/libpython_binding.a build/interfaces/python/python_interface.a build/interfaces/legacy/wsgi/legacy_interface_wsgi.a build/interfaces/legacy/legacy_interface.a build/rendering/gl/rendering_gl.a build/unrarxlib/libunrarxlib.a build/cdrip/cdrip.a build/posix/platform_posix.a build/windowing/X11/windowing_X11.a build/utils_posix/utils_posix.a build/filesystem/posix/filesystem_posix.a build/storage/linux/storage_linux.a build/powermanagement/linux/powermanagement_linux.a build/peripherals/bus/linux/peripherals_bus_linux.a build/network/linux/network_linux.a build/input/touch/generic/input_touch_generic.a build/input/touch/input_touch.a build/input/linux/input_linux.a build/linuxsupport/linuxsupport.a build/cores/VideoPlayer/videorenderers/hwdec/videorenderers_hwdec.a build/cores/VideoPlayer/videorenderers/shaders/videoshaders.a build/cores/VideoPlayer/videorenderers/videorenderers.a build/cores/VideoPlayer/process/process.a build/cores/VideoPlayer/subtitles/dvdsubtitles.a build/cores/VideoPlayer/inputstreams/dvdinputstreams.a build/cores/VideoPlayer/demuxers/dvddemuxers.a build/cores/VideoPlayer/codecs/video/dvdvideocodecs.a build/cores/VideoPlayer/codecs/overlay/dvdoverlaycodecs.a build/cores/VideoPlayer/codecs/audio/dvdaudiocodecs.a build/cores/VideoPlayer/codecs/dvdcodecs.a build/cores/VideoPlayer/VideoPlayer.a build/video/windows/video_windows.a build/video/jobs/video_jobs.a build/video/dialogs/video_dialogs.a build/video/video.a build/windows/windows.a build/windowing/windowing.a build/view/view.a build/utils/utils.a build/threads/threads.a build/storage/storage.a build/rendering/rendering.a build/programs/programs.a build/powermanagement/powermanagement.a build/playlists/playlists.a build/platform/platform_common.a build/pictures/pictures.a build/messagingHelpers/messagingHelpers.a build/messaging/messaging.a build/media/media.a build/listproviders/listproviders.a build/input/mouse/generic/input_mouse_generic.a build/input/mouse/input_mouse.a build/input/keyboard/generic/input_keyboard_generic.a build/input/keyboard/input_keyboard.a build/input/joysticks/generic/input_joystick_generic.a build/input/joysticks/dialogs/input_joystick_dialogs.a build/input/joysticks/input_joystick.a build/input/input.a build/guilib/guilib.a build/epg/epg.a build/dialogs/dialogs.a build/dbwrappers/dbwrappers.a build/commons/commons.a build/addonCallbacks_PVR/addonInterface_PVR.a build/addonCallbacks_Peripheral/addonInterface_Peripheral.a build/addonCallbacks_InputStream/addonInterface_InputStream.a build/addonCallbacks_GUI/addonInterface_GUI.a build/addonCallbacks_Game/addonCallbacks_Game.a build/addonCallbacks_Codec/addonInterface_Codec.a build/addonCallbacks_AudioEngine/addonInterface_AudioEngine.a build/addonCallbacks_AudioDSP/addonInterface_AudioDSP.a build/addonCallbacks_Addon/addonInterface_Addon.a build/addonsBinaryInterfaces/addonsBinaryInterfaces.a build/addons/addons.a build/xbmc/xbmc.a build/settings/windows/settings_windows.a build/settings/lib/settings_lib.a build/settings/dialogs/settings_dialogs.a build/settings/settings.a build/pvr/windows/pvr_windows.a build/pvr/timers/pvr_timers.a build/pvr/recordings/pvr_recordings.a build/pvr/dialogs/pvr_dialogs.a build/pvr/channels/pvr_channels.a build/pvr/addons/pvr_addons.a build/pvr/pvr.a build/profiles/windows/profiles_windows.a build/profiles/dialogs/profiles_dialogs.a build/profiles/profiles.a build/peripherals/dialogs/peripherals_dialogs.a build/peripherals/devices/peripherals_devices.a build/peripherals/bus/virtual/peripheral_bus_virtual.a build/peripherals/bus/peripherals_bus.a build/peripherals/addons/peripherals_addons.a build/peripherals/peripherals.a build/network/websocket/network_websockets.a build/network/network.a build/music/windows/music_windows.a build/music/tags/music_tags.a build/music/infoscanner/music_infoscanner.a build/music/dialogs/music_dialogs.a build/music/music.a build/interfaces/json-rpc/jsonrpc_interface.a build/interfaces/info/info_interface.a build/interfaces/generic/generic_interface.a build/interfaces/builtins/interfaces_builtins.a build/interfaces/interfaces.a build/games/windows/gameswindows.a build/games/tags/gametags.a build/games/ports/gameports.a build/games/dialogs/gamedialogs.a build/games/controllers/windows/games_controller_windows.a build/games/controllers/guicontrols/games_controller_guicontrols.a build/games/controllers/dialogs/games_controller_dialogs.a build/games/controllers/games_controller.a build/games/addons/savestates/gamesavestates.a build/games/addons/playback/gameplayback.a build/games/addons/gameaddons.a build/games/games.a build/filesystem/musicdatabase/musicdatabasedirectory.a build/filesystem/videodatabase/videodatabasedirectory.a build/filesystem/filesystem.a build/upnp/libupnp.a build/kissfft/kissfft.a build/events/windows/events_windows.a build/events/events.a build/cores/RetroPlayer/retroplayer.a build/cores/playercorefactory/playercorefactory.a build/cores/paplayer/paplayer.a build/cores/externalplayer/externalplayer.a build/cores/dll-loader/exports/util/exports_utils.a build/cores/dll-loader/exports/dllexports.a build/cores/dll-loader/dllloader.a build/cores/audioengine/audioengine.a build/cores/cores.a -lgpg-error -lgnutls -lz -lp11-kit -lgmp -lhogweed -lnettle -ltasn1 /usr/local/mariadb/lib64/libmariadb.so -lpython2.7 -lpthread -lutil -lpython2.7 /usr/local/lib64/libssh2.so -ludev -lva -lva-x11 -lva-drm /usr/local/lib64/libvdpau.so -lxslt -lxml2 /usr/local/openssl11/lib64/libssl.so /usr/local/openssl11/lib64/libcrypto.so -lGL -lGLU -lX11 -lXext -lXrandr -ldrm -lEGL
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function lock_callback(int, int, char const*, int): error: undefined reference to 'CRYPTO_num_locks'
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function lock_callback(int, int, char const*, int): error: undefined reference to 'CRYPTO_set_id_callback'
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function lock_callback(int, int, char const*, int): error: undefined reference to 'CRYPTO_set_locking_callback'
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function lock_callback(int, int, char const*, int): error: undefined reference to 'CRYPTO_num_locks'
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function lock_callback(int, int, char const*, int): error: undefined reference to 'CRYPTO_set_id_callback'
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function lock_callback(int, int, char const*, int): error: undefined reference to 'CRYPTO_set_locking_callback'
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function CryptThreadingInitializer::CryptThreadingInitializer(): error: undefined reference to 'CRYPTO_num_locks'
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function CryptThreadingInitializer::CryptThreadingInitializer(): error: undefined reference to 'CRYPTO_set_id_callback'
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function CryptThreadingInitializer::CryptThreadingInitializer(): error: undefined reference to 'CRYPTO_set_locking_callback'
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function CryptThreadingInitializer::~CryptThreadingInitializer(): error: undefined reference to 'CRYPTO_set_locking_callback'
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function xbmcutil::GlobalsSingleton<CryptThreadingInitializer>::getInstance(): error: undefined reference to 'CRYPTO_num_locks'
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function xbmcutil::GlobalsSingleton<CryptThreadingInitializer>::getInstance(): error: undefined reference to 'CRYPTO_set_id_callback'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::~CSFTPSession(): error: undefined reference to 'sftp_free'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::~CSFTPSession(): error: undefined reference to 'ssh_disconnect'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::~CSFTPSession(): error: undefined reference to 'sftp_free'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::~CSFTPSession(): error: undefined reference to 'ssh_disconnect'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function XFILE::CSFTPFile::Read(void*, unsigned long): error: undefined reference to 'sftp_read'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function XFILE::CSFTPFile::GetPosition(): error: undefined reference to 'sftp_tell64'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function XFILE::CSFTPFile::~CSFTPFile(): error: undefined reference to 'sftp_close'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function XFILE::CSFTPFile::Close(): error: undefined reference to 'sftp_close'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function XFILE::CSFTPFile::~CSFTPFile(): error: undefined reference to 'sftp_close'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function XFILE::CSFTPFile::Stat(stat64*): error: undefined reference to 'sftp_stat'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function XFILE::CSFTPFile::Stat(stat64*): error: undefined reference to 'sftp_attributes_free'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function XFILE::CSFTPFile::GetLength(): error: undefined reference to 'sftp_stat'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function XFILE::CSFTPFile::GetLength(): error: undefined reference to 'sftp_attributes_free'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CreateFileHandle(std::string const&): error: undefined reference to 'sftp_open'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CreateFileHandle(std::string const&): error: undefined reference to 'sftp_file_set_blocking'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CloseFileHandle(sftp_file_struct*): error: undefined reference to 'sftp_close'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::DirectoryExists(char const*): error: undefined reference to 'sftp_stat'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::DirectoryExists(char const*): error: undefined reference to 'sftp_attributes_free'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::FileExists(char const*): error: undefined reference to 'sftp_stat'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::FileExists(char const*): error: undefined reference to 'sftp_attributes_free'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function XFILE::CSFTPFile::Seek(long, int): error: undefined reference to 'sftp_seek64'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function XFILE::CSFTPFile::Seek(long, int): error: undefined reference to 'sftp_tell64'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function XFILE::CSFTPFile::Seek(long, int): error: undefined reference to 'sftp_tell64'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::Seek(sftp_file_struct*, unsigned long): error: undefined reference to 'sftp_seek64'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::Read(sftp_file_struct*, void*, unsigned long): error: undefined reference to 'sftp_read'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::GetPosition(sftp_file_struct*): error: undefined reference to 'sftp_tell64'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::VerifyKnownHost(ssh_session_struct*): error: undefined reference to 'ssh_is_server_known'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::VerifyKnownHost(ssh_session_struct*): error: undefined reference to 'ssh_write_knownhost'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::VerifyKnownHost(ssh_session_struct*): error: undefined reference to 'ssh_get_error'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_new'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_options_set'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_options_set'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_options_set'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_options_set'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_connect'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_userauth_none'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_userauth_list'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_get_error'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'sftp_free'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_disconnect'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_userauth_publickey_auto'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_userauth_password'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'sftp_new'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'sftp_init'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_get_error'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::CSFTPSession(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_get_error'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::Connect(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_new'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::Connect(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_connect'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::Connect(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_userauth_none'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::Connect(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_userauth_list'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::Connect(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_userauth_publickey_auto'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::Connect(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'ssh_userauth_password'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::Connect(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'sftp_new'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::Connect(std::string const&, unsigned int, std::string const&, std::string const&): error: undefined reference to 'sftp_init'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::Disconnect(): error: undefined reference to 'sftp_free'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::Disconnect(): error: undefined reference to 'ssh_disconnect'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::GetDirectory(std::string const&, std::string const&, CFileItemList&): error: undefined reference to 'sftp_opendir'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::GetDirectory(std::string const&, std::string const&, CFileItemList&): error: undefined reference to 'sftp_dir_eof'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::GetDirectory(std::string const&, std::string const&, CFileItemList&): error: undefined reference to 'sftp_readdir'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::GetDirectory(std::string const&, std::string const&, CFileItemList&): error: undefined reference to 'sftp_closedir'
build/filesystem/filesystem.a(SFTPFile.cpp.o):SFTPFile.cpp:function CSFTPSession::GetDirectory(std::string const&, std::string const&, CFileItemList&): error: undefined reference to 'sftp_get_error'
collect2: error: ld returned 1 exit status
CMakeFiles/kodi.dir/build.make:436: recipe for target 'kodi.bin' failed
gmake[2]: *** [kodi.bin] Error 1
gmake[2]: Leaving directory '/work/kodi18/kodi/build'
CMakeFiles/Makefile2:540: recipe for target 'CMakeFiles/kodi.dir/all' failed
gmake[1]: *** [CMakeFiles/kodi.dir/all] Error 2
gmake[1]: Leaving directory '/work/kodi18/kodi/build'
Makefile:141: recipe for target 'all' failed
gmake: *** [all] Error 2


The "1st culprit", above, is

Code:
build/utils/utils.a(CryptThreading.cpp.o):CryptThreading.cpp:function lock_callback(int, int, char const*, int): error: undefined reference to 'CRYPTO_num_locks'

looking in ./xbmc/utils/CryptThreading.cpp

Code:
70    CryptThreadingInitializer::CryptThreadingInitializer()
    {
      bool attemptedToSetSSLMTHook = false;
    #if defined(HAVE_OPENSSL) && OPENSSL_VERSION_NUMBER < 0x10100000L
      // set up OpenSSL
!!      numlocks = CRYPTO_num_locks();
      CRYPTO_set_id_callback(thread_id);
      CRYPTO_set_locking_callback(lock_callback);
      attemptedToSetSSLMTHook = true;
    #else
      numlocks = 1;
    #endif

that symbol's used only in the case of

Code:
#if defined(HAVE_OPENSSL) && OPENSSL_VERSION_NUMBER < 0x10100000L


Since, I *have* openssl, and its real version is >= 0x10100000L, something's clearly amiss.

What I'm having trouble with atm is finding where these flags are being improperly set -- or, more generallly, why these symbols are being referenced in the OpenSSL api >= 1.1.0 case.

Have I missed a needed config? Or is there a bug here?

Kodi on Ubuntu 16.04.2 LTS Server and ESXi

Hi, I am working on an experiment, trying to get Kodi installed in a vm, on Ubuntu server 16.04.2 LTS on an ESXi server and do a passthrough with an Nvidia card using the HDMI out This is where I am. I followed this post on installing Kodi 17 in an ...

Kodi not connecting to internet

okay - I'm going to give my troubleshooting history so everyone knows what I have and haven't done ... but first details I'm running Kodi 17 - OSMC distribution I have uploaded a log file to http://paste.osmc.io/qusovoqowa now - about 2 weeks ago o...

Timeshift Buffer does not clear when playing back a Recording

I’m not certain if this is a PVR bug, or if it is specific to pvr.hts. Also, I only use (a lightly modified version of) Estuary, so this might be an Estuary bug, although because of the way it presents, I doubt it.

It appears that the references to the Timeshift Buffer in the PVR subsystem is not cleared when it is not immediately replaced by a new Live TV stream. If Live TV is stopped while in the middle of the buffer, the buffer reference remains until a new Live TV is started.

This is most visible/present when watching a Recorded program. If I choose to start watching a Recorded program, either while a Live TV stream in currently playing or after selecting Stop while the playback progress was within the Timeshift Buffer, the Timeshift Buffer progress bar displays above file’s playback progress bar.

To replicate this:

  1. Start playback of a Live TV stream by selecting a Channel.
  2. Pause playback to initiate the display of the Timeshift Buffer.
  3. Optional: Press Stop to cease playback of the Live TV stream, while there still remains time left in the Timeshift Buffer.
  4. Select a recorded program from the PVR Recordings to view/play.
  5. While the Recording is in progress, press Pause to bring up the OSD Progress display.
  6. (In Estuary; actual display may differ based upon skin) The Timeshift Buffer progress bar displays above the Recording’s playback progress bar, and continues to update its end time.
The only way to clear this is to select a new Live TV stream to playback, and stop its playback while at the end of the Timeshift Buffer (i.e., to fast-forward to the end of the stream and return to Now/Live.)

I tried to pull up existing issues to see if this had already been reported, but was unable to do so. Bugs/issues are not tracked through Github, and for some reason the Trac database kept erroring out on me every time I attempted to browse/search through it.

Able to change colours?

Hello! I LOOOVE this skin, recently upgraded to Krypton and fancied a change from my usual mimic theme. I was wondering if there's a way to change the colour scheme of the skin though? I prefer blue so I changed mimic to blue all over. Even if I need ...

Disable artwork entirely?

Hi there, just wondering if it's possible to disable artwork in the epg entirely? I run on fire tv box, and the artwork is always laggy and takes a while to show the correct artwork. I'd like to disable this entirely. It used to have low power mode tha...

How to add TV Shows from TV Recording

I used NextPVR to record OTA programming. I would like to move OTA recordings from NextPVR to TV Shows section under Kodi 17.1. I was able to move recordings such as The Amazing Race and Designated Survivor to the TV Shows section. When I copied th...

I can not get any stream to connect in Kodi 17.1

For the past several days I have not been able to get any stream from any plugin or repository to connect in Kodi 17.1. Kodi is still able to gather other information from the internet such as movie information and updates to the plugins I just can not...

removing banned addons

I was having problems with kodi starting and immediately stopping. Apparently I had some banned addons. My question is how can I remove said addons when I cannot keep kodi open? I did goto .kodi and try and delete all the addons that I thought might...

Random PVR Background no longer an option

I had Random PVR Background set for the Live TV thumbnail as well as the background. That suddenly disappeared in the Set Thumbnail options. Was that option removed during an update or something? Thank you. Daryl

KODI 17.1 WONT OPEN AFTER UPDATE

So I just updated my kodi v16 to the krypton 17.1 on google play so everything was all good until I realize when I open kodi it will show the loading page but then shut off right after. My Kodi now does not work and I have tried almost everything and ...

Crashes on startup after upgrading from 16.1 to 17.1

Hi, Had to go back to Jarvis. Here is the crash log (Theres also a dmp file but its total gibberish): Thread 7260 (process 4644) # 0 RaiseException # 1 CxxThrowException # 2 # 3 # 4 # 5 # 6 # 7 # 8 # 9 #10 #11 #12 #13 BaseThreadInitThunk #14 RtlSubscr...

Cant get 5.1 audio output to work

Im running Kodi on an Xiaomi Mi Box. My Monitor doesnt support HDMI so I have a DVI adapter which is working fine for video. My AV receiver supports DD 5.1 (and other sources such as Tivo are playing fine in 5.1). I was only able to get the L R lights ...