Hello All ,
I want to open a /Application/Adobe Indesign CS3/Plugin/xyz.dylib using dlopen function but it return error symbol does not exists.

I try to call a dll in one of my sample project which is placed in the projectname/build/xyz.dylib or projectname/build/debug/xyz.dylib it gets succeessfully called.Here I am not specifying any dllpath just giving call as dlopen("xyz.dylib",RTLD_LOCAL);
But if I placed it in /Applications/xyz.dylib it returns errors.
dlopen("/Applications/xyz.dylib",RTLD_LOCAL); //return unsuccessfully

I could not understand the reason behind it.