Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 3 of 3
  1. #1

    IO::Socket::SSL missing on Mac

    Hi everyone,

    Somehow I've managed to break the perl installation on my Mac (running High Sierra) that I use to run LMS. Everything was working great up to this morning when I did two things:

    1. Install nginx via brew
    2. Updated Spotty and Material plugins.

    One of these has broken my perl installation as Spotty and the podcast app now show the error:

    Code:
    Spotty requires the perl module IO::Socket::SSL. You can NOT use Spotty without this module. Please use your operating system's package manager to install it.
    I am running perl 5.18.2:

    Code:
    perl -v
    
    This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level
    (with 2 registered patches, see perl -V for more detail)
    
    Copyright 1987-2013, Larry Wall
    
    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5 source kit.
    
    Complete documentation for Perl, including FAQ lists, should be found on
    this system using "man perl" or "perldoc perl".  If you have access to the
    Internet, point your browser at http://www.perl.org/, the Perl Home Page.
    Perl -V output:

    Code:
    perl -V
    Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
    
      Platform:
        osname=darwin, osvers=17.0, archname=darwin-thread-multi-2level
        uname='darwin osx361.sd.apple.com 17.0 darwin kernel version 16.1.0: mon oct 9 13:05:29 pdt 2017; root:xnu-3789.21.4.1.7~1development_x86_64 x86_64 '
        config_args='-ds -e -Dprefix=/usr -Dccflags=-g  -pipe  -Dldflags= -Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=cc'
        hint=recommended, useposix=true, d_sigaction=define
        useithreads=define, usemultiplicity=define
        useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
        use64bitint=define, use64bitall=define, uselongdouble=undef
        usemymalloc=n, bincompat5005=undef
      Compiler:
        cc='cc', ccflags ='-arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector',
        optimize='-Os',
        cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector'
        ccversion='', gccversion='4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)', gccosandvers=''
        intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
        d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
        ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
        alignbytes=8, prototype=define
      Linker and Libraries:
        ld='cc', ldflags ='-arch x86_64 -arch i386 -fstack-protector'
        libpth=/usr/lib /usr/local/lib
        libs=
        perllibs=
        libc=, so=dylib, useshrplib=true, libperl=libperl.dylib
        gnulibc_version=''
      Dynamic Linking:
        dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
        cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -bundle -undefined dynamic_lookup -fstack-protector'
    
    
    Characteristics of this binary (from libperl):
      Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                            PERL_DONT_CREATE_GVSV
                            PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                            PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                            PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_ALL
                            USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                            USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                            USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
                            USE_REENTRANT_API
      Locally applied patches:
    	/Library/Perl/Updates/<version> comes before system perl directories
    	installprivlib and installarchlib points to the Updates directory
      Built under darwin
      Compiled at May  1 2018 17:43:05
      @INC:
        /Library/Perl/5.18/darwin-thread-multi-2level
        /Library/Perl/5.18
        /Network/Library/Perl/5.18/darwin-thread-multi-2level
        /Network/Library/Perl/5.18
        /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level
        /Library/Perl/Updates/5.18.2
        /System/Library/Perl/5.18/darwin-thread-multi-2level
        /System/Library/Perl/5.18
        /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level
        /System/Library/Perl/Extras/5.18
    As far as I can tell, I still have the IO::Socket::SSL module installed:

    Code:
    ls /Library/Perl/5.18/IO/Socket
    SSL	SSL.pm	SSL.pod
    My thinking is the brew install of nginx (which also pulled in openssl amongst other things) has broken the perl installation.

    Can anyone help me to bring me back to a working system (well, working for anything that has a dependancy on the SSL module?

    Thanks in advance,
    Oliver
    LMS Server: Mac Mini with music library on Drobo 5D
    Living Room: Raspberry Pi + AlloBoss -> Onkyo A 9010 -> KEF LS50
    Study: Raspberry Pi -> Audio Engine D1 -> Audio Addon Pro T3
    Kitchen: Squeezebox Radio
    Bedroom: SB3 -> B&W Zeppelin

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,418

    IO::Socket::SSL missing on Mac

    > Somehow I've managed to break the perl installation on my Mac (running
    > High Sierra) that I use to run LMS. Everything was working great up to
    > this morning when I did two things:


    Try this:
    https://forums.slimdevices.com/showt...l=1#post925539

    --

    Michael

  3. #3
    Brilliant, thank you. Followed the instructions to as written and everything is back.

    Issue resolved :-)
    LMS Server: Mac Mini with music library on Drobo 5D
    Living Room: Raspberry Pi + AlloBoss -> Onkyo A 9010 -> KEF LS50
    Study: Raspberry Pi -> Audio Engine D1 -> Audio Addon Pro T3
    Kitchen: Squeezebox Radio
    Bedroom: SB3 -> B&W Zeppelin

Posting Permissions

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