Runtime errors with demo programs under RTAI

Hello, I have two questions:

1. I tried running /demo/inp -s0 -c0 (using the dt2811-pgh board) and this 
resulted in the error:
       /dev/comedi0: Timer expired

     What other setup do I need to do to get this to work, or is it just an 
RTAI issue?  /demo/inpn runs properly.

2.  I compiled Tutorial #1 from the demo directory using:
          gcc tut1.c -I../include -lcomedi -o tut1   (this worked)
      but at runtime I get the following error:
          ./tut1: error while loading shared libraries: libcomedi.so.0: 
cannot open shared object file: No such file or directory

Please advise.  Thanks!

-Jagan
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003

Received on 2003-11-03Z19:05:29