Public bug reported:

ldd no longer works in package libc-bin 2.33-0ubuntu1

$ file /bin/ls
/bin/ls: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically 
linked, interpreter /lib64/ld-linux-x86-64.so.2, 
BuildID[sha1]=75a5a06981363560659178711370bb75b3146bcd, for GNU/Linux 3.2.0, 
stripped
$ ldd /bin/ls
 not a dynamic executable

ldd tries to run /lib{,64,x32}/ld-linux* and check whether the exit code
is 127, but the exit code of the new version of them are 1.

        dummy=`$rtld 2>&1` 
        if test $? = 127; then
          verify_out=`${rtld} --verify "$file"`
          ret=$?
          case $ret in
          [02]) RTLD=${rtld}; break;;
          esac
        fi


This bug is introduced by debian/patches/all/local-ldd.diff in 
http://ftp.ubuntu.com/ubuntu/pool/main/g/glibc/glibc_2.33-0ubuntu1.debian.tar.xz

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  ldd no longer works in package libc-bin 2.33-0ubuntu1
  
  $ file /bin/ls
  /bin/ls: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically 
linked, interpreter /lib64/ld-linux-x86-64.so.2, 
BuildID[sha1]=75a5a06981363560659178711370bb75b3146bcd, for GNU/Linux 3.2.0, 
stripped
  $ ldd /bin/ls
-       not a dynamic executable
+  not a dynamic executable
  
  ldd tries to run /lib{,64,x32}/ld-linux* and check whether the exit code
- is 127, but the exit code of the new version of them is 1.
+ is 127, but the exit code of the new version of them are 1.
  
- This bug is introduced by debian/patches/all/local-ldd.diff in
- 
http://ftp.ubuntu.com/ubuntu/pool/main/g/glibc/glibc_2.33-0ubuntu1.debian.tar.xz
+       dummy=`$rtld 2>&1` 
+       if test $? = 127; then
+         verify_out=`${rtld} --verify "$file"`
+         ret=$?
+         case $ret in
+         [02]) RTLD=${rtld}; break;;
+         esac
+       fi
+ 
+ 
+ This bug is introduced by debian/patches/all/local-ldd.diff in 
http://ftp.ubuntu.com/ubuntu/pool/main/g/glibc/glibc_2.33-0ubuntu1.debian.tar.xz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914860

Title:
  /usr/bin/ldd no longer work in package libc-bin 2.33-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1914860/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to