Re: Problems installing comedilib-0.7.21

On Wed, 12.05.04, Naoko Kurahashi <naokok_at_stanford.edu> wrote:

> I can install comedilib-0.7.20 fine, but when I re-compile and run some of
> the tutorial programs, I get....
> error while loading shared libraries: libcomedi.so.0: cannot open shared
> object file: No such file or directory
> (i've compiled it linking -lcomedi and also directly from /usr/local/lib/)

The loader cant find libcomedi. The default search path is /lib and
/usr/lib. You have three options.

1. re-run configure with --prefix=/usr
2. add /usr/local/lib to /etc/ld.so.conf and run ldconfig
3. add /usr/local/lib to $LD_LIBRARY_PATH before running the program


hth,

Nils

Received on 2004-05-12Z20:48:47