Skip to content

Instantly share code, notes, and snippets.

@danielhams
Created February 5, 2020 17:59
Show Gist options
  • Save danielhams/90df709e5938e8ec988802351b295281 to your computer and use it in GitHub Desktop.
Save danielhams/90df709e5938e8ec988802351b295281 to your computer and use it in GitHub Desktop.
rpm elfdeps issues on irix
From fedora 31:
[dan@localhost ~]$ /usr/lib/rpm/elfdeps --requires /usr/lib64/libsndfile.so.1
libc.so.6(GLIBC_2.14)(64bit)
libm.so.6(GLIBC_2.29)(64bit)
libgsm.so.1()(64bit)
libFLAC.so.8()(64bit)
libogg.so.0()(64bit)
libvorbis.so.0()(64bit)
libvorbisenc.so.2()(64bit)
libm.so.6()(64bit)
libc.so.6()(64bit)
rtld(GNU_HASH)
[dan@localhost ~]$ readelf -d /usr/lib64/libsndfile.so.1 |grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libgsm.so.1]
0x0000000000000001 (NEEDED) Shared library: [libFLAC.so.8]
0x0000000000000001 (NEEDED) Shared library: [libogg.so.0]
0x0000000000000001 (NEEDED) Shared library: [libvorbis.so.0]
0x0000000000000001 (NEEDED) Shared library: [libvorbisenc.so.2]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
From Irix:
[sgugshell dan@leafy sgug-rse.git]$ /usr/sgug/lib/rpm/elfdeps --requires /usr/sgug/lib32/libsndfile.so.1
[sgugshell dan@leafy sgug-rse.git]$ readelf -d /usr/sgug/lib32/libsndfile.so.1 |grep NEEDED
0x00000001 (NEEDED) Shared library: [libFLAC.so.8]
0x00000001 (NEEDED) Shared library: [libogg.so.0]
0x00000001 (NEEDED) Shared library: [libvorbis.so.0]
0x00000001 (NEEDED) Shared library: [libvorbisenc.so.2]
0x00000001 (NEEDED) Shared library: [libm.so]
0x00000001 (NEEDED) Shared library: [libc.so.1]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment