socat problem

  • Hi

    I've successfully upgraded from openelec. (Thanks Guys for LE!) The only issue I have is with socat. It seems that the ssl library is not installed.
    I tried reinstalling it but same issue.

    Code
    mediabox:~ # socat
    socat: error while loading shared libraries: libssl.so.32: cannot open shared object file: No such file or directory

    Edited once, last by toxxiq (April 29, 2016 at 7:04 AM).


  • Hi

    I've successfully upgraded from openelec. (Thanks Guys for LE!) The only issue I have is with socat. It seems that the ssl library is not installed.
    I tried reinstalling it but same issue.

    Code
    mediabox:~ # socat
    socat: error while loading shared libraries: libssl.so.32: cannot open shared object file: No such file or directory

    the ssl library is installed, it is probably just built against a different version. We would have to provide our own socat addon for it to work.

  • Is there any plan for unofficial addon library for LE?

    I tried building socat addon with

    Code
    PROJECT=RPi2 ARCH=arm ./scripts/create_addon socat


    but I failed :S I think my environment is not properly set up to build LE.

    Code
    build/genautomata /home/krisz/LibreELEC.tv/build.LibreELEC-RPi2.arm-7.0-devel/gcc-5.3.0/gcc/common.md /home/krisz/LibreELEC.tv/build.LibreELEC-RPi2.arm-7.0-devel/gcc-5.3.0/gcc/config/arm/arm.md insn-conditions.md > tmp-automata.c
    Makefile:2137: recipe for target 's-automata' failed
    make[2]: *** [s-automata] Error 137
    make[2]: *** Waiting for unfinished jobs....
    make[2]: Leaving directory '/home/krisz/LibreELEC.tv/build.LibreELEC-RPi2.arm-7.0-devel/gcc-5.3.0/.armv7ve-libreelec-linux-gnueabi-bootstrap/gcc'
    Makefile:4096: recipe for target 'all-gcc' failed

  • Try docker.

    What do you mean? Do you mean I should build socat using docker or run it? Any help is appreciated. I am docker noob :)

    As a side note, actually I would need socat to feed tvheadend with xmltv format epg.
    I used this command under openelec:

    Code
    cat ~/.epg/xmltv.xml | ~/.kodi/addons/tools.socat/bin/socat - UNIX-CONNECT:/storage/.kodi/userdata/addon_data/service.multimedia.tvheadend/epggrab/xmltv.sock


    [hr]


    toxxiq

    You didn't include the relevant part of the output that shows the actual error.

    Hm, these are the last lines. Do you see what is failing?

    Edited once, last by toxxiq (May 1, 2016 at 5:01 PM).

  • Hi,
    I have exactly the same problem since I upgraded to LibreELEC 8.0 (Linux 64 bits): for EPG I have a script which calls:

    Code
    cat /tmp/epg.xml | /storage/.kodi/addons/tools.socat/bin/socat stdin UNIX-CONNECT:/storage/.kodi/userdata/addon_data/service.tvheadend42/epggrab/xmltv.sock
    /storage/.kodi/addons/tools.socat/bin/socat: error while loading shared libraries: libssl.so.35: cannot open shared object file: No such file or directory

    Any idea?
    Thanks

  • Hi,
    Here is the solution I have used:

    Code
    ln -s /usr/lib/libssl.so.39 /storage/.kodi/addons/tools.socat/bin/libssl.so.35
    ln -s /usr/lib/libcrypto.so.38.0.0 /storage/.kodi/addons/tools.socat/bin/libcrypto.so.35
    export LD_LIBRARY_PATH=/storage/.kodi/addons/tools.socat/bin:$LD_LIBRARY_PATH

    I am surprised that socat is now packaged inside LibreELEC because it is used when updating the EPG: HOWTO: Three ways to use xmltv.sock
    Thanks

    Edited once, last by spontex (February 26, 2017 at 8:12 AM).