help-octave
[Top][All Lists]
Advanced

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

Re: Oct files with dynamic libraries


From: c.
Subject: Re: Oct files with dynamic libraries
Date: Mon, 24 Sep 2012 18:19:19 +0200

On 24 Sep 2012, at 14:39, Jordi GutiƩrrez Hermoso wrote:

> 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.

Or, alternatively, if you have permission to do so, install your shared library 
in some more standard path that is 
already serched by the loader, for example "/usr/local/lib"

> - Jordi G. H.



reply via email to

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