Compiling with Sqlite3

Andreas Metzler ametzler at bebt.de
Sat Mar 29 07:06:43 CET 2025


On 2025-03-28 Frank Guthausen <fg.gnupg at shimps.de> wrote:
> I try to compile GnuPG 2.5.5 with self compiled libraries from the
> download webpage and support from Debian/Devuan stable libraries for
> bzip2, gnutls and sqlite3. Without sqlite3 it works, even with the
> environment variables for gnutls support:

> LIBGNUTLS_CFLAGS="-I /usr/include/gnutls" LIBGNUTLS_LIBS="-L /usr/lib/x86_64-linux-gnu -l gnutls" ./configure --prefix=/tmp/canary/install

> Using the environment variables to compile with sqlite3 support, the
> linker doesn't find several symbols. The configure command is in an
> attached file and the essential part of the `make' log is attached, too.

> The command line variables as prefix relative to the line above are:

> SQLITE3_CFLAGS="-I /usr/include" SQLITE3_LIBS="-L /usr/lib/x86_64-linux-gnu -l sqlite3"
[...]

Why do you set these options at all? ./configure should find the libs in
their standard location without these hints. Did you perhaps forget to
install pkgconf?

cu Andreas



More information about the Gnupg-devel mailing list