My attempts to compile to get Gerbera, a popular DLNA server running proved futile. The dependencies seem to be alright. The documentation doesn't mention any make flags needed. So when I try to make, building reaches 100% and then fails on
[100%] Linking CXX executable gerberawith the following message:
/usr/bin/ld: liblibgerbera.a(sqlite_database.cc.o): undefined reference to symbol 'sqlite3_mprintf' /usr/bin/ld: /lib/x86_64-linux-gnu/libsqlite3.so.0: error adding symbols: DSO missing from command line clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [CMakeFiles/gerbera.dir/build.make:98: gerbera] Error 1 make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/gerbera.dir/all] Error 2 make: *** [Makefile:130: all] Error 2I am unfamiliar with this kind of issue, so would be grateful if someone explained it to me or, if possible, helped me to fix it
DSO missing from command line
usually means there should have been a directive like-lsqlite3
in the link command. Did you install all the recommended prerequisites includinglibsqlite3-dev
?