[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mkinitrd problem



Jacob Larsen wrote:
> I am trying to build an initrd so I can run my / on lvm. My problem is
> that I get an error I don't really understand:
>
> cpio:   /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000): No such file
> or directory
> cpio:   /lib/ld-linux-x86-64.so.2 (0x00002aaaaaaab000): No such file or
> directory
> cpio:   /lib/ld-linux-x86-64.so.2 (0x0000555555555000): No such file or
> directory
>
> Can someone explain what this is, and how I can fix it? I found a thread
> handling a similar problem, but I don't see a solution from this:
>
> http://lists.debian.org/debian-amd64/2004/12/msg00491.html
>

Does lib64/ld-linux-x86-64.so.2 exist? On my PC (running
amd64 (gcc-3.4)) I see a symbolic link:

% ll /lib64/ld-linux-x86-64.so.2
lrwxrwxrwx  1 root root 11 Apr 22 21:08 /lib64/ld-linux-x86-64.so.2 -> ld-2.3.5.so
% ll /lib64/ld-2.3.5.so
-rwxr-xr-x  1 root root 95888 Apr 20 19:59 /lib64/ld-2.3.5.so
% file /lib64/ld-2.3.5.so
/lib64/ld-2.3.5.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped

/lib64 is a symbolic link, too:

% ll /lib64
lrwxrwxrwx  1 root root 3 Apr 22 21:08 /lib64 -> lib


Any differences to your system?


Regards

Harri

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: