Check for dladdr(), rather than assuming we have it if we have RTLD_DEFAULT