Can't run a program using libraries from shell

No replies
clemo
Title: NooBot
Joined: 01/19/2014
Posts:
BotPoints: 5
User offline. Last seen 3 years 43 weeks ago.

Hi,
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: MyLib.so: 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/MyLib.so (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