Re: Compiling with Sqlite3

Andreas Metzler <[email protected]>
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
On 2025-03-28 Frank Guthausen <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.