I'm trying to setup a cron entry to generate a graph on daily basis, the file executes OK on ssh command line, i then copied the file to /etc/cron.daily/tide_daily
but, when cron runs it(as root), I get: tide: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory === this works OK: # /etc/cron.daily/tide_daily Indexing /usr/share/xtide/harmonics.tcd... # ls -l /etc/cron.daily/tide_daily -rwxr-xr-x 1 root webmaste 82 Sep 16 07:05 /etc/cron.daily/tide_daily so, when cron executes it, I'm missing libpath ? it seems ? the needed file lives in # cd /usr/local/lib # ls -l -rw-r--r-- 1 root root 212414 Aug 8 21:05 libpng12.a lrwxrwxrwx 1 root root 13 Aug 8 21:05 libpng12.so -> libpng12.so.0 lrwxrwxrwx 1 root root 19 Aug 8 21:05 libpng12.so.0 -> libpng12.so.0.1.2.5 -rwxr-xr-x 1 root root 196402 Aug 8 21:05 libpng12.so.0.1.2.5 lrwxrwxrwx 1 root root 10 Aug 8 21:05 libpng.a -> libpng12.a lrwxrwxrwx 1 root root 11 Aug 8 21:05 libpng.so -> libpng.so.3 lrwxrwxrwx 1 root root 17 Aug 8 21:05 libpng.so.3 -> libpng.so.3.1.2.5 -rwxr-xr-x 1 root root 196402 Aug 8 21:05 libpng.so.3.1.2.5 -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug