$ LC_ALL=C comm -12 <(provided_symbols /lib64/libc.so.6) \ <(provided_symbols /usr/lib64/libtpcmisc.so.0) fnmatch strcasecmp strcasestr strdup These functions are defined in libc, nothing else should normally need to use their own bundled copies, let alone export them.