symbols - Does dlopen require a lib to be self-contained? -


i call function f1 obtained dlopen("libxyz.so", rtld_now). know if f1 internally relies on symbols outside of libxyz.so, , libs containing these symbols "searchable" runtime linker, application work? or, requirement dlopen'ed lib (libxyz.so in case) has self-contained?

is requirement dlopen'ed lib (libxyz.so in case) has self-contained?

there no such requirement.

however, if libxyz.so not self-contained, may work in 1 application (that happens link in other libraries required libxyz.so work), fail in another. therefore practice make sure libxyz.so linked against other libraries needs.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -