1

I have been compiling / installing custom packages for OpenWRT. I kept running into problems when I was compiling getting errors like:

Package x is missing dependencies for the following libraries:
libc.so.6

I solved this by adding the line libc.so.6 to a libc.provides file.

Now I am running into this error:

OpenWRT Screenshot

Even though the packages are installed (in the list of installed packages and in the bin folder), they don't get run when I type them in.

Somebody suggested that it may be because a linked library is missing.

If anybody has any idea, I would appreciate any comments!

Update

In another install where amld is working, and amldmonitor is not

root@OpenWrt:~# file /bin/amld
/bin/amld: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), corrupted section header size
root@OpenWrt:~# file /bin/amldmonitor
/bin/amldmonitor: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.24, dynamically linked (uses shared libs), corrupted section header size

Question on r/openwrt

  • 1
    What says ls -l /bin/amld ? – jlliagre Dec 3 '13 at 14:47
  • Hey, the output is,-rwxr-xr-x 1 root root 57800 Dec 3 14:38 /bin/amld – TomSelleck Dec 3 '13 at 14:52
  • 1
    From your ls output colours, I bet the ones in blue are symlinks to binaries in another directory, and /bin is not included in $PATH. What is the output of echo $PATH? – Teresa e Junior Dec 3 '13 at 15:23
  • 1
    What does ldd /bin/amld return? – hildred Dec 3 '13 at 15:54
  • 1
    what does ldd /bin/amld gives you as a result ? – Kiwy Dec 3 '13 at 16:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.