Re: shared library error

On Thu, 2004-07-15 at 12:53, Michael Thomas wrote:

> Now when I try to run ./ni_test I get ´error while loading shared
> libraries: libcomedi.so.0:
> 
> cannot open shared object file: no such file or directoryˇ.
> 
>  
> 
> I poked around and found that libcomedi.so.0 is a symlink to
> libcomedi.so.0.0.0 so I copied
> 
> both to the working directory, but apparently that isn˙t where it˙s
> looking for the file.
> 
> I˙m used to writing ´hello worldˇ programs that don˙t use run-time
> libraries.  Help?

try this:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
./ni_test

hope that helps.

rob.

Received on 2004-07-15Z16:19:40