I am using different machines to build and run project using buildbot. In linux the dynamic library is found ( I heard something about rpath) but in mac after I build and run. The binary that I use to run cant find dynamic library the binary needs. I could use export to say where the library is but I want some method to say mac machine where those library are. Can any one help me in this one, i tried setting
env={"LD_LIBRARY_PATH": "/usr/local/lib"}
but no luck from there too.
EDIT :
what abarnert told was right. the only change I had to make was add DY in front of LD_LIBRARY_PATH so it will be (and also if you want to add more)
env={"DYLD_LIBRARY_PATH": "/usr/local/lib:/usr/where/is/lib"}