Libts error only when starting app at startup

Seth
I've got a Qt4.7 app that works just fine if I wait to manually run it
until the mini2440 has fully booted:

/myapp -qws

and the app works just like it should. However if I add that line to the
end of the /etc/init.d/rcS file (to run it automatically at startup), I
get:

/myapp: error while loading shared libraries: libts-0.0.so.0: cannot open
shared object file: No such file or directory

I've been searching for a while and although some people have had the
missing library problem, none of them are due to running the app from the
startup script. Any ideas?

-Seth

Seth
After another round of Googling I found this post:

http://www.friendlyarm.net/forum/topic/465

which explains the solution. Thanks anyway!

-Seth

Pratik
Dear Seth,
copy libts files and paste them in your folder having lib path, you might
have set in env variables or add path to these files. 
Thanks