ldd doesn't work on dynamically linked binary

后端 未结 2 1636
轻奢々
轻奢々 2020-12-30 04:49

I have a binary that uses a bunch of .so files.

bash-3.00$ file foo
foo: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.21, dyna         


        
2条回答
  •  旧时难觅i
    2020-12-30 04:58

    Note that in Fedora 21, to get ldd to identify 32bit .so files, I had to install the following:

    sudo yum install glibc.i686 libgcc.i686 libstdc++.i686 glibc-devel.i686
    

    I'm not sure which one of those fixed the "not a dynamic executable" error I was seeing in ldd.

提交回复
热议问题