“No such file or directory” error when executing a binary

前端 未结 8 778
走了就别回头了
走了就别回头了 2020-11-28 01:15

I was installing a binary Linux application on Ubuntu 9.10 x86_64. The app shipped with an old version of gzip (1.2.4), that was compiled for a much older kernel:

         


        
8条回答
  •  無奈伤痛
    2020-11-28 01:47

    I also had problems because my program interpreter was /lib/ld-linux.so.2 however it was on an embedded device, so I solved the problem by asking gcc to use ls-uClibc instead as follows:

    -Wl,--dynamic-linker=/lib/ld-uClibc.so.0
    

提交回复
热议问题