The shl_unload Routine Returning ETXTBSY
When shl_unload returns
•Another dll (dynamic loading library) loaded by the program has an explicit dependency on the library.
•The program has bound a symbol reference to some symbol defined by the library.
Majority of the problems that lead to this error are
•Examine the program's dependencies to see if any dll depends on the shared library you are attempting to unload.
•Check the program and its shared libraries for symbol references that may have been resolved to a symbol definition in the shared library you are attempting to unload. You can use elfdump for this check.
The shl_unload routine is likely to return ETXTBSY in the
Dynamic Loader Compatibility Warnings
Starting with the
export
The following sections provide information about the dynamic loader compatibility warnings.
Unsupported Shared Library Management Routines
The following shared library management shl_load(3X) routines may become unsupported in a future
•shl_definesym()
•shl_get()
•shl_get_r()
•shl_gethandle()
•shl_gethandle_r()
•shl_getsymbols()
When these routines become unsupported, the SVR4 dlopen (3C) family of routines will be the only dynamic loading routines supported.
Unsupported Shared Library Management Flags
The following shared library management shl_load(3X) flags may become unsupported in a future
•BIND_FIRST
•BIND_NOSTART
Dynamic Loader Compatibility Warnings 183