You are here: Home » Reply » Reply To: Install Firefly on OpenWRT – error: "not found"

Reply To: Install Firefly on OpenWRT – error: "not found"

#14151
rpedde
Participant

@Martinierius wrote:

Thanks for your reply,

I get the same error when running the command directly:

[email protected]:~# /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-daapd.conf
-ash: /opt/sbin/mt-daapd: not found
[email protected]:~#

I’m sure I should get this running on OpenWRT (regardless of my router model).
I just don’t understand what the error is trying to tell me. Something is not found, maybe a library or a package? These are the installed packages installed by ipkg:


alac-decoder - 0.1.0-2
bash - 3.2.17-1
flac - 1.1.4-1
ivorbis-tools - 1.0-6
libao - 0.8.8-1
libcurl - 7.17.0-2
libid3tag - 0.15.1b-1
libogg - 1.1.3-3
libvorbis - 1.1.2-5
libvorbisidec - cvs-20050221-2
mss-ld-so - 1.0-1
mss-libhelper - 1.0-1
hdn-tools-3.2.3
mt-daapd - svn-1696-1
ncurses - 5.6-1
openssl - 0.9.7m-3
readline - 5.2-2
sqlite - 3.4.1-1
sqlite2 - 2.8.16-1
zlib - 1.2.3-2

And this is strange… ipkg-opt gives me the same list? In fact the list seems to hold the packages installed by ipkg-opt. Ipkg has a different list of packages (for example samba).

Assuming that the binary is really there, the error means that a shared library isn’t found. Do a “ldd” on the binary and see what it can’t find.

You should also check that your LD_LIBRARY_PATH includes /opt/lib

— Ron