Sample Header Ad - 728x90

Getting "CANNOT LINK EXECUTABLE "inotifywait": library "libnotifytools.so" not found. " when tyring to run a script that uses the inotifywait binary

1 vote
0 answers
365 views
The script is here: https://github.com/Magisk-Modules-Repo/com.piyushgarg.rclone/blob/master/binary/syncd.sh The code that I do not believe is working is this:
while true; do
    if [[ ! -e ${SYNC_PENDING} ]]; then
        ${HOME}/inotifywait "/storage/emulated/${PROFILE}/${SYNCDIR}" -e modify,create,moved_to,close_write -q >> /dev/null 2>&1 && touch ${SYNC_PENDING}
    fi
When I execute the inotifywait binary as a standalone, I get this message: > CANNOT LINK EXECUTABLE "inotifywait": library "libnotifytools.so" not found. Does this indicate that I am missing a library? How can I solve the issue?
Asked by ioo (11 rep)
Nov 15, 2020, 09:20 PM
Last activity: Nov 16, 2020, 02:05 AM