Are you running your program in the same shell?
You need to run your application in the same shell were you are setting LD_LIBRARY_PATH, it doesn't work if you have are modifying an environment in a "window console" and running your programm in Eclipse or another window.
UPDATE
If you are using Eclipse, in your menu, go to Project --> Properties --> Run/Debug Settings, then choose the configuration you're using and edit it, you will see this window:
Select the tab "Environment" and click on "New" you'll know what to do for the rest.