SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to build an updated version of GPA (mostly just for fun). But when I try to build it I get this error, whether I use the slackbuild file from the source (modified for the new package version) or src2pkg:
Code:
server.o: In function `gpa_start_server':
server.c:(.text+0x146): undefined reference to `assuan_set_assuan_err_source'
server.o: In function `accept_connection_cb':
server.c:(.text+0x4c7): undefined reference to `assuan_init_socket_server_ext'
server.c:(.text+0x539): undefined reference to `assuan_deinit_server'
server.o: In function `connection_finish':
server.c:(.text+0x28aa): undefined reference to `assuan_deinit_server'
collect2: ld returned 1 exit status
make[3]: *** [gpa] Error 1
make[3]: Leaving directory `/tmp/gpa-0.8.0-src-1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/gpa-0.8.0-src-1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gpa-0.8.0-src-1'
make: *** [all] Error 2
ERROR! Compiling source code has failed.
This usually happens because of missing libraries, or
badly written Makefiles or configure scripts.
Found an RPM .spec file which shows this:
Requires: gnupg
It seems that part of the problem may be with libassuan. I have both libassuan-1.0.4 and libassuan-2.0.0 installed.
It also seems to be asking for gnupg, but that's installed too.
Builds fine here. You should only have one of the libassuan versions installed, and 2.0.0 is preferred. It contains a shared library, whereas the old 1.x only had a static library (meaning nothing goes wrong wrt runtime even if you remove it), and besides, latest gnupg2 requires newer libassuan API.
I've got gnupg2 built and installed against libassuan 2.0.0, but I also have GnuPG 1.0.14 installed. Could the fact that I have both installed be causing the problem?
I'm on a pure 64 environment. Is GPA having trouble finding the libraries?
I'll keep working on this and see how it turns out.
Not your fault at all; the gnupg folks just have to get all of their bits and pieces on the same page:
Code:
(this is when building gpa-0.8.0)
checking for libassuan-config... /usr/bin/libassuan-config
checking for LIBASSUAN - version >= 1.0.4... yes (2.0.0)
checking LIBASSUAN API version... does not match. want=1 got=2.
However, gnupg2-2.0.15 requires libassuan-2.x, and since that software is much more important than gpa, I guess it's clear how this will play out :-)
That did it. I was still getting errors with the Slackbuild, but then I noticed that I hadn't removed the old versions of gpgme and libassuan.
For the record then, here's what I built:
libassuan-2.0.0
gnupg-2.0.15
gnupg-1.4.10
gpgme-1.3.0
gpa-0.9.0
I build all but libassuan and gpa using src2pkg. I'm going to want to go back and clean those builds up by adding slack-desc files, but overall, I'm pleased with the update.
Thanks, Robby, for finding the diff file for gpa. That was driving me crazy!
EDIT: Now the only thing wrong is that I get "Bad" signatures when I verify signatures with GPA and "good" ones when I verify with the command line gpg (1.4.10)! This is a problem with files such as the .asc file for the CHECKSUMS.md5 on the Slackware DVD.
I am new to Linux, and I know very little, but want to install GPG with GPA, and I got the same error message. I read this thread, but the two links, where the help was not working. Anyone could help me?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.