Can't run a program using libraries from shell

No replies
Title: NooBot
Joined: 01/19/2014
BotPoints: 5
User offline. Last seen 4 years 35 weeks ago.

I've written a programm in c using another c programm as library.

The lib.-project is called MyLib the programm is named testProgram.

When I try to run /kovan/bin/testProgram/testProgram I get the error "error while loading shared libraries: cannot open shared object file: No such file or directory

I'm starting the programm as root from the directory /koven/bin and the library which is "missing" is (thanks to the kiss-ide) at /kovan/lib/MyLib/ (it is not empty - it's 5kb large).

Can you help me to start my programm with this libraries via ssh correct?

*Programm name and library name for this post changed