Makefile bug in gnupg-1.4.1-r1: x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -frename-registers -ftracer -fweb -Wall -Wl,-z,now -L/usr/lib -o bftest bftest.o ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a -lreadline x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -frename-registers -ftracer -fweb -Wall -Wl,-z,now -L/usr/lib -o clean-sat clean-sat.o ../cipher/libcipher.a(idea-stub.o): In function `idea_get_info': idea-stub.c:(.text+0x73): undefined reference to `dlopen' idea-stub.c:(.text+0x8c): undefined reference to `dlsym' idea-stub.c:(.text+0x94): undefined reference to `dlerror' idea-stub.c:(.text+0xa2): undefined reference to `dlerror' idea-stub.c:(.text+0xc8): undefined reference to `dlclose' idea-stub.c:(.text+0x199): undefined reference to `dlsym' idea-stub.c:(.text+0x1a1): undefined reference to `dlerror' idea-stub.c:(.text+0x1d5): undefined reference to `dlclose' idea-stub.c:(.text+0x1de): undefined reference to `dlerror' collect2: ld returned 1 exit status make[2]: *** [bftest] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gnupg-1.4.1-r1/work/gnupg-1.4.1/tools' It tries to use functions from libdl but doesn't link to it (no -ldl). When setting LDFLAGS="-ldl" it builds just fine, but of course that should only be set for the relevant targets which I haven't tracked down, so no patch from me, I'm sure you can handle that ;)
configure should check for dlopen in -lc and then -ldl
Can you atach you "emerge --info", please?
No response from user...
I was looking at this the other day and there seemed to be some check for the dl libraries in the configure script of gnupg-1.9.18. I'm also confused as to why so few people are affected by this.