} else { libHandle = RTLD_DEFAULT;
XPCOMGlueLoad(const char *xpcomFile){    char xpcomDir[MAXPATHLEN];    if (realpath(xpcomFile, xpcomDir)) {        char *lastSlash = strrchr(xpcomDir, '/');        if (lastSlash) {            *lastSlash = '\0';            XPCOMGlueLoadDependentLibs(xpcomDir, ReadDependentCB);        }    }    void *libHandle = RTLD_DEFAULT;    if (xpcomFile[0] != '.' || xpcomFile[1] != '\0') {        libHandle = dlopen(xpcomFile, RTLD_GLOBAL | RTLD_LAZY);        if (libHandle) {            AppendDependentLib(libHandle);        }        else {            libHandle = RTLD_DEFAULT;        }    }    GetFrozenFunctionsFunc sym =        (GetFrozenFunctionsFunc) dlsym(libHandle,                                       LEADING_UNDERSCORE "NS_GetFrozenFunctions");    if (!sym)        XPCOMGlueUnload();    return sym;}