Why is inconsistency detected by ld.so library with DT_FILTER set to it ?

Solution Verified - Updated -


  • Linking DSOs with g++ --Wl,--filter=someDSO.so, and DSO produced can't be dlopened or fed to ldd
$  ldd someDSO.so
Inconsistency detected by ld.so: dl-deps.c: 553: _dl_map_object_deps: Assertion `map->l_searchlist.r_list[0] == map' failed!


  • Red Hat Enterprise Linux 8
  • glibc-2.28

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In