Re: cannot run pacman in different operating system

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



Hello,

2010/8/31 Thomas Bächler <thomas@xxxxxxxxxxxxx>:
> 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.

Ach, thank you. I will update the page. You are right:

$ ls /lib64/ld-linux-x86-64.so.2
/lib64/ld-linux-x86-64.so.2
$ ls /lib/ld-linux-x86-64.so.2
ls: cannot access /lib/ld-linux-x86-64.so.2: No such file or directory

Regards,
Luke

PS. In meantime I just compiled pacman :)

-- 
Łukasz Nowak IT Specialist email@xxxxxxxxxx http://lnowak.com/
Skype: Shufla jid: shufla@xxxxxxxxxx gg: 1157726
``Use the Source, Luke...''


[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