--- interfaces/libpgtcl/Makefile.in.orig	Sun Oct 18 20:00:41 1998
+++ interfaces/libpgtcl/Makefile.in	Sat Nov  7 05:12:43 1998
@@ -27,7 +27,7 @@
 
 OBJS= pgtcl.o pgtclCmds.o pgtclId.o
 
-SHLIB_LINK= -L../libpq -lpq
+SHLIB_LINK= -L../libpq -lpq -lcrypt
 
 # Shared library stuff, also default 'all' target
 include $(SRCDIR)/Makefile.shlib
