help-guix
[Top][All Lists]
Advanced

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

Re: LIBRARY_PATH and foreign binaries: error while loading shared librar


From: Pierre Neidhardt
Subject: Re: LIBRARY_PATH and foreign binaries: error while loading shared libraries
Date: Wed, 18 Apr 2018 14:19:57 +0530
User-agent: mu4e 1.0; emacs 26.1

Pierre Neidhardt <address@hidden> writes:

> I can fix it with
>
>> patchelf --set-interpreter "$(realpath "$(which sh)")" 
>> /path/to/foreign/binary

Copy/paste mistake, the correct command is

> patchelf --set-interpreter "$(patchelf --print-interpreter "$(realpath 
> "$(which sh)")")" /path/to/foreign/binary

-- 
Pierre Neidhardt

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]