Error loading libraries

Hi all,
on MacOsX 10.13.4, I get the following error when running an executable that links ROOT libraries (v6-12-06) and some extensions:

dyld: Library not loaded: @rpath/
Referenced from: /opt/wdcm/wdcm/MG/.libs/widendcm
Reason: image not found

the library path seems correct:


However, if I load the extended libraries from the root shell, everything is fine.

I guess then is has something to do with compiling widendcm, but I used the same compiler of the extended libraries, that are correctly loaded…

Any suggestion?


On Macs you have to set DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH. Could you please try with that? Cheers,

problem solved. thanks