Re: cannot run pacman in different operating system

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



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.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux