Bartłomiej Piotrowski commented on a discussion: 
https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/427#note_912682

Looks like I'm doing something wrong on Ubuntu 20.04:

```
root@1a4c9e48ef7b:/# gcc `gpgme-config --libs --cflags` gpgme.c 
/usr/bin/ld: /tmp/cc6UE2OX.o: in function `main':
gpgme.c:(.text+0x80): undefined reference to `gpgme_check_version_internal'
/usr/bin/ld: gpgme.c:(.text+0x8c): undefined reference to `gpgme_new'
/usr/bin/ld: gpgme.c:(.text+0xc6): undefined reference to 
`gpgme_ctx_get_engine_info'
/usr/bin/ld: gpgme.c:(.text+0xe9): undefined reference to 
`gpgme_ctx_set_engine_info'
/usr/bin/ld: gpgme.c:(.text+0x12c): undefined reference to `gpgme_get_key'
collect2: error: ld returned 1 exit status
```

gpgme-config returns `-L/usr/lib/x86_64-linux-gnu -lgpgme -lassuan -lgpg-error` 
so looks rather fine.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/427#note_912682
You're receiving this email because of your account on gitlab.gnome.org.


_______________________________________________
gnome-infrastructure mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-infrastructure

Reply via email to