SOLVED: FFMPEG not found

I've been struggling to have Serviio start up without the ffmpeg error.
I followed all the tips and tricks in the forum: recompiled a fresh ffmpeg and dependencies, create serviio user etc etc but it still wouldn't fly.
After I found that I could run Serviio from the command line as serviio user, but the upstart script would still give me the problem, it occured to me that after compiling ffmpeg I had to add a LD_LIBRARY_PATH statement to /etc/environment. That turned out to be the issue.
I added LD_LIBRARY_PATH to serviio.sh and now it starts nicely. There probably better places to declare it, but for now it works..
Sharing this because I haven't seen references to the LD_LIBRARY_PATH for upstart scripts.
I followed all the tips and tricks in the forum: recompiled a fresh ffmpeg and dependencies, create serviio user etc etc but it still wouldn't fly.
After I found that I could run Serviio from the command line as serviio user, but the upstart script would still give me the problem, it occured to me that after compiling ffmpeg I had to add a LD_LIBRARY_PATH statement to /etc/environment. That turned out to be the issue.
I added LD_LIBRARY_PATH to serviio.sh and now it starts nicely. There probably better places to declare it, but for now it works..
Sharing this because I haven't seen references to the LD_LIBRARY_PATH for upstart scripts.