Can't run a program using libraries from shell

1 reply [Last post]
Title: NooBot
Joined: 01/19/2014
BotPoints: 5
User offline. Last seen 8 years 50 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

Title: NooBot
Joined: 11/06/2018
BotPoints: 2
User offline. Last seen 4 years 12 weeks ago.

I visited your website. I really like it. Lots of good quick
information. Keep it up