It looks like removing export LIBS=-lpthread
from the debian/rules for the 251-5 package systems to have improved matters dramatically. I now have this modified 251-5 package running on my system and the dpkg-source and dpkg-architecture commands run without problem.
The attached patch makes the necessary change. If someone else could verify my findings. Then, this should probably be reassigned to libnss-ldap.
-- Jamin W. Collins
diff -Naur libnss-ldap-251.orig/debian/rules libnss-ldap-251/debian/rules --- libnss-ldap-251.orig/debian/rules 2006-08-22 21:29:13.000000000 -0400 +++ libnss-ldap-251/debian/rules 2006-08-22 21:31:29.000000000 -0400 @@ -1,7 +1,6 @@ #!/usr/bin/make -f export DH_COMPAT=4 -export LIBS=-lpthread include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk

