Shared objects -urgent please help me out

Hi All......
I have my tool in my one server lets say E1 and same tool I tried to install in E2 server so everything is fine but, while executing the my tool for example...

$ ./batch 

At that time Im getting this following error.

./batch: error while loading shared libraries: libqabwvcd.so: cannot open shared object file: No such file or directory

I tried to use the command

export LD_LIBRARY_PATH=/home/program/lib

After setting this library path its working fine

Here I'm facing problem now.
If I close the server session . Again I tried to login my server with username and password and If I want to execute this tool (program) again Im getting above error.
So everytime no need to set the Path for library files.

In E1 , It's working fine. But when comes in E2 I'm getting this error.
whenever I want to run that program I should execute the export LD_LIBRARY_PATH command then only I'm able to execute it.

Is it because of again In E2 also we have to compile that program and shall I create the executable file for this program separately?

Please help me out for this issue.

Thanks in advance

Thanks
K Srivani

in your batch file, add the export line

Thanks For ur reply

Can u Please give any example ?

Im using export before executing (running) my tool

> export LD_LIBRARY_PATH=/home/program/lib
>./batch

Like this?

Thanks
Srivani

Please start using [CODE] tags when posting command lines, console output, ...
Also, please don't use words like "URGENT" or the like in the subject. We're all doing our best here, and if it's a real emergency, please post in the Emergency support forum.