Can't compile with a QNAP NAS - no libs...

Help
2012-10-08
2013-05-29
  • Any ideas, how I can get minidlna work with a QNAP-NAS?

    [/share/HDA_DATA/Public/minidlna-1.0.25] # make
    ./genconfig.sh
    ERROR!  Cannot continue.
    The following required libraries are either missing, or are missing development headers:
    libsqlite3 
    make: *** [config.h] Error 1
    

    sqlite 3.7.14-1 is installed, but where do I get libsqlite3 as ipkg for a QNAP-NAS?

    find / -name *sqlite*                 
    /mnt/ext/usr/lib/libsqlite3.so.0.8.6
    /mnt/ext/usr/lib/libsqlite3.so
    /mnt/ext/usr/lib/libsqlite3.so.0
    /mnt/ext/usr/include/sqlite.h
    /mnt/ext/opt/apache/lib/apr-util-1/apr_dbd_sqlite3.la
    /mnt/ext/opt/apache/lib/apr-util-1/apr_dbd_sqlite3.a
    /mnt/ext/opt/apache/lib/apr-util-1/apr_dbd_sqlite3.so
    /mnt/ext/opt/apache/lib/apr-util-1/apr_dbd_sqlite3-1.so
    /share/HDA_DATA/.qpkg/Optware/include/sqlite3.h
    /share/HDA_DATA/.qpkg/Optware/include/sqlite3ext.h
    /share/HDA_DATA/.qpkg/Optware/lib/libsqlite3.so
    /share/HDA_DATA/.qpkg/Optware/lib/libsqlite3.so.0.8.6
    /share/HDA_DATA/.qpkg/Optware/lib/ipkg/info/sqlite.control
    /share/HDA_DATA/.qpkg/Optware/lib/ipkg/info/sqlite.list
    /share/HDA_DATA/.qpkg/Optware/lib/libsqlite3.so.0
    /share/HDA_DATA/.qpkg/Optware/lib/pkgconfig/sqlite3.pc
    /share/HDA_DATA/.qpkg/Optware/lib/libsqlite3.la
    /share/HDA_DATA/.qpkg/Optware/share/man/man1/sqlite3.1
    /share/HDA_DATA/.qpkg/Optware/bin/sqlite3
    /share/HDA_DATA/.qpkg/Asterisk/lib/asterisk/modules/cdr_sqlite.so
    
    uname -a
    Linux nas 2.6.33.2 #1 Wed Aug 1 02:04:49 CST 2012 armv5tel unknown
    
    which gawk
    /opt/bin/gawk
    /opt/bin/gawk --version
    GNU Awk 4.0.1
    
    ipkg list | grep -i sqlite
    perl-dbd-sqlite - 1.35-1 - The Perl Database Driver for SQLITE.
    py-apsw - 3.3.5-r1-2 - Another Python SQLite Wrapper.
    py24-sqlite - 2.4.1-1 - pysqlite is an interface to the SQLite database server for Python. It aims to be fully compliant with Python database API versi
    py25-apsw - 3.3.5-r1-2 - Another Python SQLite Wrapper.
    sqlite - 3.7.14-1 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    sqlite2 - 2.8.17-3 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    
    ipkg list_installed | cut -f1-3 -d" " 
    autoconf - 2.69-1
    automake - 1.12-1
    bash - 3.2.49-1
    binutils - 2.19.1-1
    coreutils - 8.4-1
    cvs - 1.11.23-1
    e2fslibs - 1.41.14-1
    ffmpeg - 0.svn20080409-3
    findutils - 4.2.32-1
    flac - 1.2.1-1
    gawk - 4.0.1-1
    gcc - 4.2.3-1
    gdbm - 1.8.3-4
    gettext - 0.14.5-2
    grep - 2.12-1
    ipkg-web - 7-7
    libc-dev - 2.5-5
    libdb - 4.2.52-3
    libexif - 0.6.19-1
    libid3tag - 0.15.1b-1
    libjpeg - 6b-3
    libnsl - 2.5-4
    libogg - 1.2.1-1
    libstdc++ - 6.0.9-6
    libvorbis - 1.3.2-1
    m4 - 1.4.16-1
    make - 3.82-1
    ncurses - 5.7-1
    openssl - 0.9.8v-2
    pcre - 8.31-1
    perl - 5.10.0-6
    readline - 6.1-2
    sqlite - 3.7.14-1
    sudo - 1.8.4.5-1
    zlib - 1.2.5-1