At Thu, 11 Apr 2019 22:39:53 +0200, Jan Girlich wrote:
make -Copenpgp-ffi examples
Can you try just running make from the top-level directory? Perhaps there are some dependencies that are not being built or some variables that are not being set.
that was run from the top-level directory. This is just the call from where I started copying the output.
Thanks for clarifying.
make -Copenpgp-ffi examples make[1]: Entering directory '/home/jan/Projekte/sequoia/openpgp-ffi' make -Cexamples make[2]: Entering directory '/home/jan/Projekte/sequoia/openpgp-ffi/examples' mkdir -p /home/jan/Projekte/sequoia/target/debug/c-examples/openpgp-ffi cc -I../include -O0 -g -Wall -Werror -L/home/jan/Projekte/sequoia/target/debug -lsequoia_openpgp_ffi -o "/home/jan/Projekte/sequoia/target/debug/c-examples/openpgp-ffi/example" "example.c" /tmp/cck9xmO7.o: In function `main': /home/jan/Projekte/sequoia/openpgp-ffi/examples/example.c:37: undefined reference to `pgp_tpk_from_bytes' /home/jan/Projekte/sequoia/openpgp-ffi/examples/example.c:39: undefined reference to `pgp_error_to_string' /home/jan/Projekte/sequoia/openpgp-ffi/examples/example.c:41: undefined reference to `pgp_tpk_debug' /home/jan/Projekte/sequoia/openpgp-ffi/examples/example.c:45: undefined reference to `pgp_tpk_free' collect2: error: ld returned 1 exit status Makefile:29: recipe for target '/home/jan/Projekte/sequoia/target/debug/c-examples/openpgp-ffi/example' failed
Can you please confirm that /home/jan/Projekte/sequoia/target/debug contains libsequoia_openpgp_ffi.so.
Unfortunately, the Python bindings are still in a very early stage of development. The Rust API is very complete and pretty stable at this point, and the C API, although it doesn't yet expose many of the more esoteric OpenPGP features that we support, is quite usable (in fact, it's already being used by the pep engine).
Well, it's not like the gpg python bindings are working well for me either...
:/