Re: Problem running a test program

On Wed, Jun 22, 2005 at 12:48:08AM -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


Compile programs using:

  cc -o moo moo.c $(pkg-config --cflags --libs comedilib)



dave...

-- 
David Schleef
Big Kitten LLC (http://www.bigkitten.com/) -- data acquisition on Linux

Received on 2005-06-22Z21:13:01