TheThanks for diving into this further, @Martinski...
So to be clear, each of our scripts need to haveLD_LIBRARY_PATH=""orunset LD_LIBRARY_PATHdirectly after the#!/bin/shin order to fix this, or get it into compliance with whatever this change was?
unset LD_LIBRARY_PATH statement is all you need; it can be placed either before or after the "export PATH=..." line - it makes no difference either way.With older Entware binaries that still use the RPATH embedded library search mechanism, the LD_LIBRARY_PATH is never used anyway because RPATH takes precedence. So yes, the added line is completely harmless.What happens if this runs on an older installation of Entware? Or is this benign no matter what version you're on?
The PATH and LD_LIBRARY_PATH environment variables have different purposes. The PATH variable gives the shell a list of directories to search for executable programs when you don't provide the full path. OTOH, the LD_LIBRARY_PATH variable gives the dynamic linker a list of directories to search for shared libraries that are dynamically linked to executable binaries.I also explicitly include a PATH statement near the top of each script. Does this have any effect on this change, or would it need to require any modification to help with compatibility?
HTH.