I can replicate the fault here but I can't currently find a solution. I changed run-scanything to keep any existing LD_LIBRARY_PATH paths:
Code: Select all
#!/bin/sh
BASEDIR=`readlink -f "$0"`
BASEDIR=`dirname "$BASEDIR"`
cd "$BASEDIR"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$BASEDIR/lib
echo ld path = $LD_LIBRARY_PATH
"./scanything"
I can see that $LD_LIBRARY_PATH contains both Scanything's lib directory and LinuxCNC's lib directory but ld still can't find libnml.so.0, even though that file is clearly in LinuxCNC's lib directory.
As you have probably guessed by now I haven't done much testing using a rip-environment.