user-1113
02-01-2016, 09:03 PM
get_iplayer is working fine from the command line, but when called from a user crontab it fails.
As mentioned in another thread I am spawning get_iplayer using a bash -lc in order to get the PATH to include /usr/local/bin (for the sake of rtmpdump), as I was unable to set PATH within the crontab for some reason.
However, rtmpdump still fails. Using --verbose, I get
It seems like it may still be a PATH issue, this time unable to find /usr/local/lib. I've tried adding that directory to my PATH in .bashrc, but that hasn't made any difference.
Does anyone have any hints?
I'm using Slackware 14.1 64 bit in case that's useful.
As mentioned in another thread I am spawning get_iplayer using a bash -lc in order to get the PATH to include /usr/local/bin (for the sake of rtmpdump), as I was unable to set PATH within the crontab for some reason.
However, rtmpdump still fails. Using --verbose, I get
Code:
INFO: rtmpver:
INFO: /usr/local/bin/rtmpdump: error while loading shared libraries: librtmp.so.1: cannot open shared object file: No such file or directory
WARNING: Your version of rtmpdump/flvstreamer does not support SWF Verification
WARNING: You may see this warning if rtmpdump has malfunctioned
INFO: /usr/local/bin/rtmpdump version /usr/local/bin/rtmpdump: error while loading shared libraries: librtmp.so.1: cannot open shared object file: No such file or directory
It seems like it may still be a PATH issue, this time unable to find /usr/local/lib. I've tried adding that directory to my PATH in .bashrc, but that hasn't made any difference.
Does anyone have any hints?
I'm using Slackware 14.1 64 bit in case that's useful.