On Tue, Nov 26, 2013 at 10:42 PM, <
andy....@gmail.com> wrote:
> I guess I should recommend that you not use the LD_LIBRARY_PATH approach as
> it can lead to other libraries colliding with anaconda's libraries.
>
> -- Andy
>
>
> On Tuesday, November 26, 2013 9:36:33 PM UTC-6,
andy....@gmail.com wrote:
>>
>> Hello All,
>>
>> Sorry for not replying to this issue previously.
>>
>> What is happening here is the library is being built with a particular
>> glibc but not finding it at runtime because it is in a different location.
>> Presumably inside anaconda versus on the os.
>>
>> I'll have to chat with Ilan about the implementation here but generally
>> you can change rpath variables on linux with the chrpath command, see the
>> code Aaron posted. (
>>
https://github.com/ContinuumIO/conda/blob/736111e24e7d2b783d910c9b3cb514c8698e813d/conda/builder/post.py#L155
>> )
>>
>> Alternatively, when you build you can add the rpath command to your linker
>> ( using gcc it would be gcc -Wl,-rpath=$(anaconda_prefix)/lib ) or use the
>> LD_LIBRARY_PATH environment variable to point to anaconda's lib directory.
>>
Ah, these are very helpful. I'm going to spend some time on this