Public bug reported:

Binary package hint: bootchart

Karmic Koala booting on PowerPC (iBook G4) always displays this message:

    cp: cannot stat `/lib/ld-linux.so.*': No such file or directory

After two months of seeing it everytime I power up my laptop I finally
got down to investigating the cause. I found that bootchart's initramfs
script does something like this:

    if [ "`uname -m`" = "x86_64" ]
    then
        mkdir $JAIL/lib64
        cp /lib64/ld-linux-x86-64.so.* $JAIL/lib64
    else
        cp /lib/ld-linux.so.* $JAIL/lib
    fi

Unfortunately on my PowerPC system there is no ld-linux.so.* but there's
ld.so.1 instead:

    wojte...@ibook:~$ ldd /bin/true | grep ld
            /lib/ld.so.1 (0x48000000)
    wojte...@ibook:~$ ls -l /lib/ld*
    -rwxr-xr-x 1 root root 133856 2009-10-07 18:18 /lib/ld-2.10.1.so
    lrwxrwxrwx 1 root root     12 2009-10-20 23:06 /lib/ld.so.1 -> ld-2.10.1.so

I guess another platform-specific condition will be required. For the
record, `uname -m` returns "ppc" here.

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

-- 
Bootchart complains about missing ld-linux.so.* during boot on PowerPC
https://bugs.launchpad.net/bugs/500448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to