Quote Originally Posted by d3viant View Post
/bin/ash: error while loading shared libraries: /bin/ash: symbol vprintf, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
Try manually running the postinstall script using /opt/bin/bash instead of /bin/sh.

FWIW, I've installed the gcc toolset on my router and while natively compiling various libraries and software packages, I have noticed that *lots* of scripts, makefiles, etc. assume that /bin/sh is actually a bash shell. Your script is probably trying to do something tricky that our busybox ash shell cannot do.

For my next firmware image, I want to give advanced users the ability to hook/replace certain system binaries. This would include being able to redirect /bin/sh to /opt/bin/bash.

- K.C.