gSystem->Load problem pcm files not found

I have seen that there is a related problem here:

An answer says rdict.pcm files are searched at LD_LIBRARY_PATH. Those files exist at my /path/to/installation/lib/ a path that is also present at LD_LIBRARY_PATH.

So, why when I load my libraries in ROOT it tries to search at SOURCE_DIR/build/ directory?