Re: [Nix-dev] Checking rpaths for 32 bit on 64 bit

2016-02-15 Thread Tony
Thanks both you! I ended up just building an ldd expression but eelco's 
suggestion is something I did not know about and will try and use in the future 
if I come across the situation again. Thanks!

 Eelco Dolstra wrote 

>Hi,
>
>On 12/02/16 20:38, Tony wrote:
>
>> Does anyone know if there is something like ldd32 in NixOS I can use to 
>> check 32
>> bit dynamic executables on a 64 bit system.
>
>"patchelf --print-rpath" and "readelf -d ... | grep RPATH" are both
>architecture-independent, so they should work on any ELF executable.
>
>-- 
>Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
>___
>nix-dev mailing list
>nix-dev@lists.science.uu.nl
>http://lists.science.uu.nl/mailman/listinfo/nix-dev
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Checking rpaths for 32 bit on 64 bit

2016-02-15 Thread Eelco Dolstra
Hi,

On 12/02/16 20:38, Tony wrote:

> Does anyone know if there is something like ldd32 in NixOS I can use to check 
> 32
> bit dynamic executables on a 64 bit system.

"patchelf --print-rpath" and "readelf -d ... | grep RPATH" are both
architecture-independent, so they should work on any ELF executable.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Checking rpaths for 32 bit on 64 bit

2016-02-12 Thread Nikolay Amiantov
Use glibc_multi, I think I've fixed its ldd some time ago to work
correctly for both 32-bit and 64-bit libraries.

On 02/12/2016 10:38 PM, Tony wrote:
> Hi!
> Does anyone know if there is something like ldd32 in NixOS I can use to
> check 32 bit dynamic executables on a 64 bit system.
> Thanks.
> 
> Kind Regards,
> Tony
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 

-- 
Nikolay.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Checking rpaths for 32 bit on 64 bit

2016-02-12 Thread Tony
Hi!
Does anyone know if there is something like ldd32 in NixOS I can use to check 
32 bit dynamic executables on a 64 bit system.
Thanks.

Kind Regards,
Tony___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev