in reply to Having a problem with my path
So setting $PATH is only the beginning
You can read more about this in Re^3: DBD::mysql fail install check (crontab debugging troubleshooting DYLD_LIBRARY_PATH ldd otool ...)