Post marked as solved
Post marked as solved with 3 replies, 202 views
I work for MongoDB and our app builds many dylibs. Recently we have reached a number of dylibs which is causing problems. Apparently no more than 512 dylibs are allowed to be loaded. I can not find any documentation on this. I found in the old source code a reference to this:
https://opensource.apple.com/source/dyld/dyld-852.2/src/ImageLoader.cpp.auto.html
if ( libCount > 512 )
dyld::throwf("too many dependent dylibs in %s", path);
Does anyone know why this is and what versions of OSX (or dyld) have this limitation? Where is this documented?