Re: Problem running a test program

I linked /usr/local/lib/libcomedi* to /lib/

it worked for me but i'm sure there is a more elegant solution.

On Wed, 2005-06-22 at 00:48 -0700, naveed aa wrote:
> Hi
>  
> I have successfully installed comedi 0.7.67 with the comedilib 0.7.20
> on Red Hat 9.0. But i have a problem in running the example program
> tut1.c on NI 6025E dio card. The program compiles correctly but when i
> try to run, it gives the following message:
> "error while loading shared libraries: libcomedi.so.0: cannot open
> shared object file: No such 
> file or directory"
>  
> The complete log is given below:
>  
> [root_at_localhost comedi]# cc tut2.c -lcomedi -o tut2
> [root_at_localhost comedi]# ./tut2
> ./tut2: error while loading shared libraries: libcomedi.so.0: cannot
> open shared object file: No such file or directory
>  
>  
>  
> 
> 
> ______________________________________________________________________
> Yahoo! Sports
> Rekindle the Rivalries. Sign up for Fantasy Football

Received on 2005-06-22Z07:33:16