The problem is 'ldconfig' which returns: Illegal instruction (core dumped) even if just run manually.