complicated dll/dylib calling like this.

xojo_app.exe
libs
dll1.dylib
folder1
–>sample.dylib
dll2.dylib
folder2
–>sample.dylib

sample.dylib is same struct with gnu /mulitthread but different usesage.

dll1.dylib needs folder1’s sample.dylib
dll2.dylib needs folder2’s sample.dylib.

is that need any configure?

what do you want to configure?

in windows, we need to use manifest files to indicate some dll’s dependence.

executefile binary calls->dll1 <-----static link with folder1/sample.a ( sample.dylib when run)
executefile binary calls->dll2 <-----static link with folder2/sample.a ( sample.dylib when run)

at the same running time.
the problem is :
sample.dylib is not the same thing,how does the execute file detect and load it?)
i want to know how to on mac osx.