Am 31.08.2010 11:49, schrieb Łukasz Nowak: > So now it is time to try to run pacman: > > $ pacman --help > -bash: /home/luke/archtest/usr/bin/pacman: No such file or directory
Arch binaries assume the dynamic linker to be in
/lib/ld-linux-x86-64.so.2, while most (all?) other distributions assume
it to be in /lib64/ld-linux-x86-64.so.2:
$ readelf -a $(which pacman) | grep interpreter
[Requesting program interpreter: /lib/ld-linux-x86-64.so.2]
$ readelf -a /some/mandriva/binary | grep interpreter
[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
The "No such file or directory" is very misleading here, as the file
that it is trying to open is the program interpreter, not pacman itself.
A symlink should suffice:
# ln -s /lib64/ld-linux-x86-64.so.2 /lib/
This problem does not exist on i686: The dynamic linker is
/lib/ld-linux.so.2 here, on Arch or on any distribution out there.
signature.asc
Description: OpenPGP digital signature

