[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 14:07:20 +0200 |
On 24 Sep 2012, at 13:11, Reza Housseini wrote:
> Hello list
>
> I have the following setup. I want to compile the file
> multidecksieve.cpp which includes the Sieve.h file. The compiled
> library is called libsieve.so and resides under
> /home/hous/workspace/zamp_siebmodell/trunk/core/build. I use this
> command to compile my oct-file:
>
> mkoctfile multidecksieve.cpp
> -I/home/hous/workspace/zamp_siebmodell/trunk/core
> -L/home/hous/workspace/zamp_siebmodell/trunk/core/build -lsieve
>
> It compiles fine but when I run it this error appears:
>
> failed to load: libsieve.so: cannot open shared object file: No such
> file or directory
>
> What is the reason for that? The file libsieve.so exists under the
> provided location.
>
are you on a GNU/Linux system? If so try adding
/home/hous/workspace/zamp_siebmodell/trunk/core/build
to the value of the environment varable LD_LIBRARY_PATH:
export
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/home/hous/workspace/zamp_siebmodell/trunk/core/build
> Thanks and best wishes
> Reza
HTH,
c.
- Oct files with dynamic libraries, Reza Housseini, 2012/09/24
- Re: Oct files with dynamic libraries,
c. <=
- Re: Oct files with dynamic libraries, Reza Housseini, 2012/09/24
- Re: Oct files with dynamic libraries, c., 2012/09/24
- Re: Oct files with dynamic libraries, Reza Housseini, 2012/09/24
- Re: Oct files with dynamic libraries, Jordi GutiƩrrez Hermoso, 2012/09/24
- Re: Oct files with dynamic libraries, c., 2012/09/24
- Re: Oct files with dynamic libraries, Reza Housseini, 2012/09/27