You are here: Home » Topic » No hair left due to mt-daapd issues!!

No hair left due to mt-daapd issues!!

This topic contains 9 replies, has 4 voices, and was last updated by  alanstedall 10 years, 8 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1047

    Bigbird12
    Participant

    Hi,

    New to linux, mt-daapd, telnetting etc and am about to lob my slug out of the window

    Heres what I have so far

    NSLU unslung version V2.3R63-uNSLUng-6.8-beta
    1gb memory stick in top Disk slot formatted ext3
    80Gb HDD in USB caddy formatted ext3

    installed mt-daapd via wiki http://wiki.fireflymediaserver.org/NSLU2_Installation

    which has gone fine up to the

    A Quick Aside About Unslung Data Locations section

    These are my issues
    1. changing the path to your mp3 directory using the web interface would be great but it comes up with ‘page cannot be displayed’ so cant change this method
    2. Attempted to change directories via telnet but have yet to find a step by step way to do this (for a newbie)
    3. when I run “/opt/etc/init.d/S60mt-daapd” i get a “./mt-daapd: error while loading shared libraries: libFLAC.so.7: cannot open shar
    ed object file: No such file or directory”

    Can someone please give me some simple clear instructions on how to get this running else I will jump out of the wondow straight after the slug!!

    Thanks in advance

    Mark

    #8803

    rpedde
    Participant

    @bigbird12 wrote:

    Can someone please give me some simple clear instructions on how to get this running else I will jump out of the wondow straight after the slug!!

    This is a recent thing — the flac libraries just got updated on the unslug repository and the mt-daapd binaries on the feed are linked against the old version.

    Short answer:

    Telnet into the machine and do:


    [email protected]:~# ln -s /opt/lib/libFLAC.so.8 /opt/lib/libFLAC.so.7

    Then restart the server with /opt/etc/init.d/S60mt-daapd.

    That should get you going.

    — Ron

    #8804

    Bigbird12
    Participant

    Amazing!

    I spend 7 hours yesterday trying to get the server running and one forum reply (which involved one line of code) from Ron has me up and running within 60 seconds!!!

    You are a hero Ron! 🙂

    Thanks alot – the other half may start speaking to me again soon

    Thank again

    Mark

    #8805

    alanstedall
    Participant

    Ron

    I’m getting exactly the same error as our friend above on starting the server.

    I have telneted the full “ln” command you gave to him to fix this problem, but I am getting the response: “ln -s /opt/lib/libFLAC.so.7 File exists”.

    And then when I re-start the server I still get the same error.

    I’d be grateful for your further advice, please.

    Thanks in anticipation.

    #8806

    fizze
    Participant

    You would have to update your version of libflac.

    try

    ipkg update
    ipkg install libflac

    Im not 100% certain on the name of the flac package. You might be able to get the exact name by doing this though:

    ipkg list|grep flac
    #8807

    alanstedall
    Participant

    Thanks fizze for your help.

    I tried to install “libflac” but the slug couldn’t find this package.

    I have run the query for the name of libflac and I am getting the response

    “flac – 1.2.1-1 – FLAC is a free lossless audio codec. This package contains the codec libraries and the command line tools flac and metaflac. – 1.1.2-3 -“

    Where should I go from here ?

    Again, thanks for your help !

    #8808

    rpedde
    Participant

    @alanstedall wrote:

    Thanks fizze for your help.

    I tried to install “libflac” but the slug couldn’t find this package.

    I have run the query for the name of libflac and I am getting the response

    “flac – 1.2.1-1 – FLAC is a free lossless audio codec. This package contains the codec libraries and the command line tools flac and metaflac. – 1.1.2-3 -“

    Where should I go from here ?

    Again, thanks for your help !

    Looks like flac has upgraded again… only now it’s not .8, it’s .9 or something.

    The issue is this: the binaries now are looking for a libflac.so.8. But the latest flac doesn’t provide a .8.

    look at the libraries that you hae in /opt/lib:

    ls /opt/lib/libFLAC*

    Likely you’ll see something… maybe libFLAC.so.9, but no libFLAC.so.8.

    We can use the same trick to link libFLAC.so.8 (which we need to have) so that it points to libFLAC.so.9 (or whatever version you *do* have).

    This might or might not work… it might be that version 9 is incompatible with version 8 in such a way that the server just crashes trying to run with 9, but it’s worth a try:

    ln -s /opt/lib/libFLAC.so.9 /opt/lib/libFLAC.so.8

    That makes libFLAC.so.8 point to libFLAC.so.9 (assuming that’s the version you have).

    See what that does, or at least show us the output of “ls /opt/lib/libFLAC*”

    — Ron

    #8809

    alanstedall
    Participant

    Hi Ron

    # ls /opt/lib/libFLAC*
    /opt/lib/libFLAC++.so /opt/lib/libFLAC++.so.6 /opt/lib/libFLAC++.so.6.2.0 /opt/l
    ib/libFLAC.so /opt/lib/libFLAC.so.8 /opt/lib/libFLAC.so.8.2.0

    However, I did an ipkg upgrade so as to get all the latest FLAC files, etc, in line.

    Now when I start the server I get:-

    # /opt/etc/init.d/S60mt-daapd
    Error reading config file (/opt/etc/mt-daapd/mt-daapd.conf)

    I appreciate you guys helping me on this.

    #8810

    rpedde
    Participant

    @alanstedall wrote:

    Hi Ron

    # ls /opt/lib/libFLAC*
    /opt/lib/libFLAC++.so /opt/lib/libFLAC++.so.6 /opt/lib/libFLAC++.so.6.2.0 /opt/l
    ib/libFLAC.so /opt/lib/libFLAC.so.8 /opt/lib/libFLAC.so.8.2.0

    However, I did an ipkg upgrade so as to get all the latest FLAC files, etc, in line.

    Now when I start the server I get:-

    # /opt/etc/init.d/S60mt-daapd
    Error reading config file (/opt/etc/mt-daapd/mt-daapd.conf)

    I appreciate you guys helping me on this.

    check your syslog and see what it’s barfing over:

    /opt/etc/init.d/S60mt-daapd

    tail -n50 /var/log/messages

    It should say what it didn’t like about the config file. Permissions, maybe, or something else.

    — Ron

    #8811

    alanstedall
    Participant

    Success !!!!!!

    😆

    I think the “ipkg upgrade” did the trick.

    The last problem I had was the fact that I had removed the hash symbol from the

    “#db-dir /opt/var/mt-daapd”

    statement in the config file, thinking that I should make this explicit rather than default. However apparently when processing this at this point it had a “null value”.

    Thanks Ron and fizze for all your help (and patience with me).

    All the best for 2008.

    Regards

    Alan

Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Setup Issues’ is closed to new topics and replies.