[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Oct files with dynamic libraries
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Oct files with dynamic libraries |
Date: |
Mon, 24 Sep 2012 08:39:34 -0400 |
On 24 September 2012 08:33, Reza Housseini <address@hidden> wrote:
> On Mon, Sep 24, 2012 at 2:18 PM, c. <address@hidden> wrote:
>>
>> On 24 Sep 2012, at 14:15, Reza Housseini wrote:
>>
>>>
>>> Thanks a lot Carlo, that did solve my problem. What is the reason for this?
>>> Cheers Reza
>>
>>
>> see here:
>> http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
>>
>> c.
>
> Thanks for the link, good source! I was wondering if there is a way of
> telling this directly from a cmake file?
You should probably set an rpath when building the shared library
instead of messing with LD_LIBRARY_LOAD. The above document also
explains rpaths.
- Jordi G. H.