Werner Koch wrote:

> I can mitigate the problem by changing the order. However, these kinds
> of problems are not completly solvable.

Well, even though it is not a perfect solution, it might be a good idea
to check the user-supplied library directories before /usr/lib.

> As a quick hack, I suggest to fix pth-config by removing the
> superfluous -L/usr/lib.

I'll attach a small patch for the "configure" script of GnuPG 2.0.1
which works for me.

-- 
Mit freundlichen Grüßen / Sincerely
Dipl. Inform. Ralph Seichter

*** /tmp/gnupg-2.0.1-orig/configure     Tue Nov 28 17:05:22 2006
--- configure   Wed Nov 29 14:41:48 2006
***************
*** 7344,7351 ****
  
      if test $have_pth = yes; then
         PTH_CFLAGS=`$PTH_CONFIG --cflags`
!        PTH_LIBS=`$PTH_CONFIG --ldflags`
!        PTH_LIBS="$PTH_LIBS `$PTH_CONFIG --libs --all`"
  
  cat >>confdefs.h <<\_ACEOF
  #define HAVE_PTH 1
--- 7344,7352 ----
  
      if test $have_pth = yes; then
         PTH_CFLAGS=`$PTH_CONFIG --cflags`
!        #PTH_LIBS=`$PTH_CONFIG --ldflags`
!        #PTH_LIBS="$PTH_LIBS `$PTH_CONFIG --libs --all`"
!        PTH_LIBS="`$PTH_CONFIG --libs --all`"
  
  cat >>confdefs.h <<\_ACEOF
  #define HAVE_PTH 1
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to