c++ - Load dynamic library with new link-list map on Mac OS X -
i have c++ code loads dynamic libraries via dlmopen() function lm_id_newlm lmid_t. code compiles , works expected on linux, fails on mac os. struggle obtain same behaviour dlopen() function. extensive search on google did not reveal obvious solutions problem. suggestion use
dlopen("somesharedlibrary.dylib", rtld_now | rtld_group | rtld_local)
does not work since rtld_group option not recognised on darwin. there way load dynamic library new link-list map on mac os x?
Comments
Post a Comment