Re:shared library

Hello,

 It's seems that you haven't set the LD_LIBRARY_PATH environment variable.

Try:

export
LD_LIBRARY_PATH=/usr/local/lib/:/usr/src/comedilib-0.7.21/lib/.libs/:$LD_LIB
RARY_PATH

You should replace those paths with the ones that you are using in your
system (find / -name  libcomedi.so.0).

Good luck,

Andrés Cascallana Alvarez

> Message: 3
> Date: Mon, 26 Jan 2004 15:10:57 +0100
> From: giorgio galassi <giorgio.galassi_at_unimi.it>
> Subject: shared library
> To: comedi_at_comedi.org
>
> Hi
> I must thank many person that help me during installation of comedi .The
> best solution for was to download the kenel source code and recompile it
> .This have resolved me the installation and unresolved symbols during
> installation or during boot when the SO determine the dependences of the
> modules installed but now  I have another problem :the comedi module and
> the lab_pc + are loaded correctly and so with comedi_config I have
> define the comedi0 my card and untill that all ok and also if i run the
> demo and if i compile them(gcc tut1.c -lcomedi  -o tut1)I have no errors
> after compiling tut1.c and I have rewrite the previous tut1* now when I
> run ./tut1 I have the problem :
>
> ./tut1: error while loading shared libraries: libcomedi.so.0: cannot
> open shared object file: No such file or directory
>
> I have tried the comedilib.h and it is located in /usr/local/include.I
> don't know what I must do .Must I put some link to comedi lib in somewhere
?
> Thanks a lot
>
>
>
> --__--__--
>

Received on 2004-01-26Z14:49:29