help-octave
[Top][All Lists]
Advanced

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

Oct files with dynamic libraries


From: Reza Housseini
Subject: Oct files with dynamic libraries
Date: Mon, 24 Sep 2012 13:11:48 +0200

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.

Thanks and best wishes
Reza


reply via email to

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