[rust-dev] Impending change in RPATH behavior when linking to Rust dynamic libraries

Ilya Dmitrichenko errordeveloper at gmail.com
Wed Jul 9 03:25:50 PDT 2014


Is the following error cause by this change?

% rustc -v
dyld: Library not loaded:
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/librustc-4e7c5e5c.dylib
  Referenced from: /Users/ilya/Library/Local/Rust/current/bin/rustc
  Reason: image not found
Trace/BPT trap


On 9 July 2014 00:53, Brian Anderson <banderson at mozilla.com> wrote:
> Yes, it does.
>
>
> On 07/08/2014 04:41 PM, Simon Sapin wrote:
>>
>> On 08/07/14 23:57, Brian Anderson wrote:
>>>
>>> *Running rustc directly from the build directory will no longer work by
>>> default*. To do this either set LD_LIBRARY_PATH or pass --enable-rpath
>>> to the configure script.
>>
>>
>> Does this also apply to running a (nightly) binary distribution from where
>> the tarball was extracted, without installing it?
>>
>
> _______________________________________________
> Rust-dev mailing list
> Rust-dev at mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev


More information about the Rust-dev mailing list