In Eclipse click on Run then Debug Configurations
Click on the Environment Tab
Click on New
Add LD_LIBRARY_PATH and set its value to the directory containing the library
restart Eclipse
In Eclipse click on Run then Debug Configurations
Click on the Environment Tab
Click on New
Add LD_LIBRARY_PATH and set its value to the directory containing the library
restart Eclipse