Reported by:

r2py@cs.cmu.edu

Date:

Thu May 18 16:17:38 PDT 1995

Description

The ld in Linux complains about not being able to find the shared libc library

Fix

Apply this patch.

diff -c -r1.14 Makefile
*** 1.14        1995/05/18 00:02:03
--- Makefile    1995/05/18 23:48:00
***************
*** 93,98 ****
--- 93,105 ----
  #
  LDADD+=       -lm
  
+ # statically link in libc for linux
+ ifeq ($(PORTNAME), linux)
+ LDADD+= -lc
+ endif
+ 
+ 
+ 
  postgres: $(POSTGRES_DEPEND) $(OBJS) $(EXPORTS)
        $(CC) $(LDFLAGS) -o $(objdir)/$(@F) $(addprefix $(objdir)/,$(notdir $(OBJS))) $(LDADD)