jolle-pe
Posts: 10
Joined: Wed Jan 02, 2013 1:56 pm

Missing .so file after compiling

Wed Jan 07, 2015 3:18 pm

Hello everyone,

I made a program in c++ with sqlite3 kompex framework.
Now I flashed the latest version of raspbian on my raspberry pi b+
and after successfull compiling, I want to run the program with sudo rights.
But now I got the following error:

Code: Select all

./Hauptprogramm: error while loading shared libraries: libkompex-sqlite-wrapper.so: cannot open shared object file: No such file or directory
The named kompex sqlite framework was installed via:

Code: Select all

# git clone https://github.com/Aethelflaed/kompex-sqlite-wrapper
# cd kompex-sqlite-wrapper/
# ./configure && make && make install
But there was the problem, that I had to do the last command with sudo rights:
sudo make install. Without sudo rights I got the error, that the files can't be copy to /usr/local/includes.

Does anyone have a clue whats wrong?

best regards

gkreidl
Posts: 6326
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Missing .so file after compiling

Wed Jan 07, 2015 5:42 pm

run all commands separately. Run the last one with sudo
sudo make install
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

jolle-pe
Posts: 10
Joined: Wed Jan 02, 2013 1:56 pm

Re: Missing .so file after compiling

Wed Jan 07, 2015 6:33 pm

I already did like mentioned in my start post.

But after compiling I got the error message, that the recquired .so file was not found.

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Missing .so file after compiling

Wed Jan 07, 2015 7:43 pm

Try
sudo ldconfig
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”