You are here: Home » Topic » Can not start Firefly on NSLU2…

Can not start Firefly on NSLU2…

This topic contains 17 replies, has 5 voices, and was last updated by  dr3am3r 12 years, 6 months ago.

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #1031

    Anonymous

    ./mt-daapd: error while loading shared libraries: libFLAC.so.7: cannot open shar
    ed object file: No such file or directory

    This is the output when I try to start firefly on a NSLU2. I have followed the installation guide in the wikis and everything seems to be working fine on the NSLU2 except firefly. Updated the IPKG and installed latest nightly…

    #8674

    rpedde
    Participant

    @alfaskop wrote:

    ./mt-daapd: error while loading shared libraries: libFLAC.so.7: cannot open shar
    ed object file: No such file or directory

    This is the output when I try to start firefly on a NSLU2. I have followed the installation guide in the wikis and everything seems to be working fine on the NSLU2 except firefly. Updated the IPKG and installed latest nightly…

    have you tried “ipkg install libflac”?

    Not sure why it would be missing it. Are you using the stable version, or the nightlies version?

    #8675

    Anonymous

    I have tried to use “ipkg install libflac” but that does not work. Although a package called “flac” is installed and reinstalled using “ipkg install flac”.

    I’m using latest nightly….

    #8676

    fizze
    Participant

    hm – are you running unslung?
    maybe your LIBs aint set up to point ot /opt/lib instead of just /lib.

    check the /opt/etc/init.d/S60mt-daapd script to see the lib export paths, and then see where your flac libs are installed, really.

    in unslung 6.8 at leas, they should reside in /opt/lib

    #8677

    Anonymous

    @fizze wrote:

    hm – are you running unslung?
    maybe your LIBs aint set up to point ot /opt/lib instead of just /lib.

    check the /opt/etc/init.d/S60mt-daapd script to see the lib export paths, and then see where your flac libs are installed, really.

    in unslung 6.8 at leas, they should reside in /opt/lib

    I don’t know what’s wrong, but I’m running unslung 6.8, the latest, downloaded it yesterday.

    in /opt/lib/ libflac.so and libflac.so.8 can be found…

    The S60mt-daapd script points to /opt/lib

    But when I try to start mt-daapd it can not find libflac.so.7….could that be something?

    #8678

    fizze
    Participant

    hm, did you try to symlink libFLAC.so.7 to libFLAC.so.8 ?

    might do the trick, but Im quite sure I didnt have to do some workaround.
    I’ll check when Im home, though.

    #8679

    Anonymous

    @fizze wrote:

    hm, did you try to symlink libFLAC.so.7 to libFLAC.so.8 ?

    might do the trick, but Im quite sure I didnt have to do some workaround.
    I’ll check when Im home, though.

    sorry, but how?

    #8680

    fizze
    Participant
    ln -s file1 file2

    that creates a symlink named file2 which links to file1.
    As it is only a symbolic link, those are not handled as a unity, like hardlinks.

    a symlink is under windows resembled by a shortcut, kinda.

    #8681

    Anonymous

    @fizze wrote:

    ln -s file1 file2

    that creates a symlink named file2 which links to file1.
    As it is only a symbolic link, those are not handled as a unity, like hardlinks.

    a symlink is under windows resembled by a shortcut, kinda.

    Thanks, seems to be working. Can not access the firefly server externally…can only use SSH…

    #8682

    jtbse
    Participant

    hmmm..

    This thread made me curious, so I poked around on my own NSLU2. All of my libFLAC shared libraries and symlinks reference libFLAC.so.7something, but it also looks like if I did a ipkg upgrade, it would upgrade FLAC from v1.1.2-4 to v1.1.3-1.

    I wonder if upgrading FLAC would change the lib names and and symlinks to libFLAC.so.8something…..which I’m guessing might make mt-daapd choke?

    #8683

    fizze
    Participant

    yep. deffo.
    Unfortunately the nslu2-linux.org’s package search seems down, so I cant check which packages exactly provide v7 or v8 of libflac.

    edit:

    //NSLUZZLE/opt/lib# ipkg list_installed|grep flac
    flac - 1.1.2-4 - FLAC is a free lossless audio codec. This package contains the codec libraries and the command-line tools flac and metaflac.

    and I do have:

    //NSLUZZLE/opt/lib# ls -al libF*
    -rw-r--r-- 1 root root 502592 Jun 17 2006 libFLAC++.a
    -rwxr-xr-x 1 root root 865 Jun 17 2006 libFLAC++.la
    lrwxrwxrwx 1 root root 18 Jan 11 20:50 libFLAC++.so -> libFLAC++.so.5.0.0
    lrwxrwxrwx 1 root root 18 Jan 11 20:50 libFLAC++.so.5 -> libFLAC++.so.5.0.0
    -rwxr-xr-x 1 root root 93712 Nov 7 01:53 libFLAC++.so.5.0.0
    -rw-r--r-- 1 root root 854520 Jun 17 2006 libFLAC.a
    -rwxr-xr-x 1 root root 831 Jun 17 2006 libFLAC.la
    lrwxrwxrwx 1 root root 16 Jan 11 20:50 libFLAC.so -> libFLAC.so.7.0.0
    lrwxrwxrwx 1 root root 16 Jan 11 20:50 libFLAC.so.7 -> libFLAC.so.7.0.0
    -rwxr-xr-x 1 root root 200768 Nov 7 01:53 libFLAC.so.7.0.0

    these in /opt/lib.

    go figure.

    #8684

    aakar

    Just a word of warning, I attempted installing this on my MSS. The newest flac that it installs only has .8, which crashes mt-daapd. I had to downgrade it to the 1.2.3 if I remember correctly, because I couldn’t get the 1.2.4 package installed…

    There’s gotta be a way to avoid this, no?

    #8685

    rpedde
    Participant

    @aakar wrote:

    Just a word of warning, I attempted installing this on my MSS. The newest flac that it installs only has .8, which crashes mt-daapd. I had to downgrade it to the 1.2.3 if I remember correctly, because I couldn’t get the 1.2.4 package installed…

    There’s gotta be a way to avoid this, no?

    I have to update my build tree to build against .8.

    I’ll do that this weekend.

    — Ron

    #8686

    Anonymous

    I can confirm that putting a symlink of libFLAC.so.7 -> libFLAC.so.8 works. Thanks for all help!

    #8687

    homerc

    in the ikpg library the current libao is 0.8.6-2

Viewing 15 posts - 1 through 15 (of 18 total)

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