configure: error: *** These critical programs are missing or too old: gawk *** Check the INSTALL file for required versions.
解决:
1
sudo apt-get install gawk
编译和安装
1
make && make install
查看安装结果
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
nop@nop-pwn:~/libs/2.25$ ./libc.so.6 GNU C Library (GNU libc) stable release version 2.25, by Roland McGrath et al. Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 5.4.0 20160609. Available extensions: crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B libc ABIs: UNIQUE IFUNC For bug reporting instructions, please see: <http://www.gnu.org/software/libc/bugs.html>.
使用相应版本
安装 patchelf
1 2 3 4 5 6
git clone https://github.com/NixOS/patchelf.git cd patchelf ./bootstrap.sh ./configure make sudo make install
改变dl位置:
1
patchelf --set-interpreter /home/nop/lib/glibc-2.25/64/lib/ld-2.25.so test
You are welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them.