Install Firefly on OpenWRT – error: "not found"

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues Install Firefly on OpenWRT – error: "not found"

Viewing 10 posts - 11 through 20 (of 26 total)
  • Author
    Posts
  • #14158
    rpedde
    Participant

    @n00ben wrote:

    I have the exact same problem.

    doing ldd I get ‘-ash: mt-daapd: not found’ and mt-daapd is NOT symlinked.

    /regards
    Henrik

    Do you have strace on that machine? Can you do “strace ldd mt-daapd”?

    I’m not sure what’s up with this.

    #14159
    Anonymous
    Inactive

    @rpedde wrote:

    Do you have strace on that machine? Can you do “strace ldd mt-daapd”?
    I’m not sure what’s up with this.

    didn’t have it installed, but put it on my box and got this:

    root@OpenWrt:/opt/sbin# strace ldd mt-daapd
    strace: ldd: command not found

    ldd “some other binary” works

    strace mt-daapd gives this:


    root@OpenWrt:/# strace mt-daapd
    execve("/opt/sbin/mt-daapd", ["mt-daapd"], [/* 9 vars */]) = -1 ENOENT (No such file or directory)
    write(2, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
    ) = 40
    exit(1) = ?
    Process 1205 detached

    /regards
    Henrik

    #14160
    rpedde
    Participant

    @n00ben wrote:

    strace mt-daapd gives this:


    root@OpenWrt:/# strace mt-daapd
    execve("/opt/sbin/mt-daapd", ["mt-daapd"], [/* 9 vars */]) = -1 ENOENT (No such file or directory)
    write(2, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
    ) = 40
    exit(1) = ?
    Process 1205 detached

    /regards
    Henrik

    I guess that makes sense. The not found would come right from the kernel. wouldn’t really see the mmaps of the libs, as that’s done on the kernel side.

    Can the file be opened for read? Can you copy it to another file? does it “file” as an executable?

    The only things I can think of that would give you a file not found are no file present (of course), or missing libraries. I can’t think of anything else that give a ENOENT.

    Other than something strange like fs corruption.

    #14161
    Anonymous
    Inactive

    the file comes up when I do “mt- then TAB” in the commandprompt, but on enter I get the ‘not found’. It is listed as an executable, and I can ‘read’ it if you mean by doing ‘nano mt-daapd’ theres just garbage in it ofc.

    /regards
    Henrik

    #14162
    Anonymous
    Inactive

    @rpedde wrote:

    Can the file be opened for read? Can you copy it to another file? does it “file” as an executable?

    Other than something strange like fs corruption.

    Same here:

      I can make a copy of the file.
      I can open the file in vi, begins with “^?ELF^A^A^A^@^@…”

    (the “^?ELF” is something all executables seem to start with.)

    #14163
    rpedde
    Participant

    @Martinierius wrote:

    @rpedde wrote:

    Can the file be opened for read? Can you copy it to another file? does it “file” as an executable?

    Other than something strange like fs corruption.

    Same here:

      I can make a copy of the file.
      I can open the file in vi, begins with “^?ELF^A^A^A^@^@…”

    (the “^?ELF” is something all executables seem to start with.)

    what does “file /usr/sbin/mt-daapd” say? Is the the right architecture? Compare it to the output of “uname -a”

    #14164
    Anonymous
    Inactive

    @rpedde wrote:

    what does “file /usr/sbin/mt-daapd” say? Is the the right architecture? Compare it to the output of “uname -a”

    I don’t have the “file” command. Is there a package for it?

    uname -a
    Linux Mainframe 2.4.30 #1 Wed Aug 8 08:21:33 CDT 2007 mips unknown

    This is the source I use for Firefly:

    src firefly http://ipkg.fireflymediaserver.org/mipsel/

    When I uninstall mt-daapd and install from http://ipkg.fireflymediaserver.org/wl500g then I get a segmentation fault when trying to run firefly.

    #14165
    Anonymous
    Inactive

    @Martinierius wrote:

    When I uninstall mt-daapd and install from http://ipkg.fireflymediaserver.org/wl500g then I get a segmentation fault when trying to run firefly.

    Does this mean I should continue troubleshooting with this other MIPSEL version of firefly?

    #14166
    rpedde
    Participant

    @Martinierius wrote:

    @Martinierius wrote:

    When I uninstall mt-daapd and install from http://ipkg.fireflymediaserver.org/wl500g then I get a segmentation fault when trying to run firefly.

    Does this mean I should continue troubleshooting with this other MIPSEL version of firefly?

    Dunno… sounds like it’s not compiled with the same toolchain or something as the source you have.

    You can try the other ones, but I’m not sure how much luck that will be. You have any references for the toolchain used on the firmware you are using?

    #14167
    Anonymous
    Inactive

    @rpedde wrote:

    You have any references for the toolchain used on the firmware you are using?

    Is this what you mean:
    http://downloads.openwrt.org/docs/buildroot-documentation.html

Viewing 10 posts - 11 through 20 (of 26 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.