diff --git a/chapter08/strippingagain.xml b/chapter08/strippingagain.xml index 825cd20e2..7692f6ce9 100644 --- a/chapter08/strippingagain.xml +++ b/chapter08/strippingagain.xml @@ -43,12 +43,11 @@ - save_usrlib="ld-linux-x86-64.so.2 +save_usrlib="ld-linux-x86-64.so.2 libc.so.6 - libpthread.so.6 - libthread_db.so + libthread_db.so.1 libquadmath.so.&libquadmath-version; - libstdc++.so.6 + libstdc++.so.&libstdcpp-version; libitm.so.&libitm-version; libatomic.so.&libatomic-version;" @@ -64,13 +63,12 @@ for LIB in $save_usrlib; do done online_usrbin="bash find strip" -online_usrlib="libbfd.so - libdl.so.2 - libhistory.so - libncursesw.so - libm.so.6 - libreadline.so - libz.so +online_usrlib="libbfd-&binutils-version;.so + libhistory.so.&readline-version; + libncursesw.so.&ncurses-version; + libm.so.6 + libreadline.so.&readline-version; + libz.so.&zlib-version; $(cd /usr/lib; find libnss*.so* -type f)" for BIN in $online_usrbin; do