Library path problem on Linux

On Linux, you may have to add /usr/local/lib to your LD_LIBRARY_PATH:

In Run -> Debug... , add "LD_LIBRARY_PATH=/usr/local/lib" in the Environment tab. Repeat for Run-> Run...