Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Jun 2009

    My fix for IO::Socket::SSL error with LMS installed on QNAP ARM NAS (219P+)

    So you have to install SSL and all its dependencies:

    1. Make sure you have Optware QPKG installed on your NAS. Turns out that Optware has been replaced by Entware but I've seen Entware blow up SSOTS so you can download it here:
    http://download.qnap.com/QPKG/Optware_0.99.163.zip I would keep in on your NAS in a place you know it will be and won't delete in case you need to do it again.

    2. In you NAS workstation, go to My Apps and install the qpkg. (there is an icon on the top right that looks like a grid with a plus sign - click there and it will ask you to browse the path of the qpkg

    3. Open Putty. (just enter the ip address of your NAS) and once Putty is will ask you to enter the NAS workstation userid and password

    4. Enter the following commands

    cd /
    ipkg install openssl openssl-dev

    * If you get an error here saying that ipkg cannot be found, then for some reason your environment table isn't updated correctly. this happened to me. If you have the same error then do the following:*

    echo $PATH (displays the current environment path)
    find -name 'ipkg" (displays the path of the command ipkg)
    PATH=(here, make sure you enter in all the directories that where shown when you displayed the current path. each directory is separated by a ":") for me this looked something like "PATH=/share/MD0_DATA/.qpkg/Optware/bin:/opt/bin:/opt/sbin:/usr/bin:/usr/sbin"
    echo $PATH (to display the path the make sure you entered it correctly)

    * this will update the environment table for all the commands and compiler you will need *
    * if you feel you want to make the new path(s) permanent, see this Wiki: https://wiki.qnap.com/wiki/Install_O...Fetc.2Fprofile
    and here is a detailed forum about paths: https://forum.qnap.com/viewtopic.php?t=103416 *

    ipkg install coreutils binutils automake
    ipkg install make
    ipkg install gcc

    * if any of the above don't work either because it couldn't find "make" or "gcc" or anything else, just do the same as the above with the environment path *

    cd /share/MD0_DATA/.qpkg/LogitechMediaServer *note your NAS may be /HDA_DATA/ instead of /MD0_DATA/. Use HDA if you have a single volume drive, and MD0 if you're using Raid. if you're not sure, you can browse your directory structure within putty via the command "ls" or just use WinSCP. For me WinSCP was a bit easier as it's a GUI interface that's easy to navigate the directory structure.*

    mkdir tmp
    cd tmp

    wget http://www.cpan.org/authors/id/A/AB/...0160104.tar.gz
    tar zxvf Mozilla-CA-20160104.tar.gz
    cd Mozilla-CA-20160104
    ../../bin/perl Makefile.PL
    make install
    cd ..

    wget http://www.cpan.org/authors/id/M/MI/...ay-1.81.tar.gz
    tar zxvf Net-SSLeay-1.81.tar.gz
    cd Net-SSLeay-1.81
    OPENSSL_PREFIX=/opt ../../bin/perl Makefile.PL * there are a lot of people that have gotten a compiler error here. for me the fix was updating the environment paths correctly *
    make install
    cd ..

    wget http://www.cpan.org/authors/id/S/SU/...L-2.049.tar.gz
    tar zxvf IO-Socket-SSL-2.049.tar.gz
    cd IO-Socket-SSL-2.049
    ../../bin/perl Makefile.PL
    make install
    cd ..

    * that's it. hopefully all the above installed correctly. if it didn't, just respond back with the error and everyone here will try and help you. once you stop and restart LMS, you shouldn't get the SSL error anymore.
    LMS 7.9.1 on QNAP 219P+
    3 wired Touch End Points
    Jolida Tube DAC III
    Marantz 2270 to Boston Acoustics Slimlines
    Marantz 7010 to B&W CM10 S2

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Milwaukee, WI USA
    Optware link is invalid. No longer available?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts