I was dealing with SCO on PG issues, and they supplied the following patch against 7.3.3 for SCO OSR5.
Can it be massaged for 7.4?
LER
------------ Forwarded Message ------------ Date: Tuesday, July 15, 2003 13:09:40 -0700 From: Kean Johnston <[EMAIL PROTECTED]> To: Larry Rosenman <[EMAIL PROTECTED]> Cc: Subject: Re: PERL
Attached.If you can get patches for OSR5 out QUICKLY, we can get them integrated on 7.4 which enters beta next week.
Kean
---------- End Forwarded Message ----------
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
--- Begin Message ---If you can get patches for OSR5 out QUICKLY, we can get them integrated on 7.4 which enters beta next week.Attached.
Kean--- ./src/interfaces/ecpg/lib/Makefile.osd 2003-06-23 11:48:33.000000000 -0700 +++ ./src/interfaces/ecpg/lib/Makefile 2003-06-23 13:08:35.000000000 -0700 @@ -28,6 +28,7 @@ # Shared library stuff include $(top_srcdir)/src/Makefile.shlib +RPATHDIR=$(libdir)/ install: all installdirs install-lib --- ./src/interfaces/libpgtcl/Makefile.osd 2003-06-23 11:49:03.000000000 -0700 +++ ./src/interfaces/libpgtcl/Makefile 2003-06-23 13:08:56.000000000 -0700 @@ -31,6 +31,7 @@ # Shared library stuff include $(top_srcdir)/src/Makefile.shlib +RPATHDIR=$(libdir)/ install: all installdirs install-headers install-lib --- ./src/interfaces/libpq/Makefile.osd 2003-06-23 11:50:16.000000000 -0700 +++ ./src/interfaces/libpq/Makefile 2003-06-23 13:09:13.000000000 -0700 @@ -36,6 +36,7 @@ # Shared library stuff include $(top_srcdir)/src/Makefile.shlib +RPATHDIR=$(libdir)/ backend_src = $(top_srcdir)/src/backend --- ./src/pl/plperl/GNUmakefile.osd 2003-06-23 11:37:00.000000000 -0700 +++ ./src/pl/plperl/GNUmakefile 2003-06-23 13:07:00.000000000 -0700 @@ -18,6 +18,11 @@ override CFLAGS := $(filter-out -Wall -Wmissing-declarations -Wmissing-prototypes, $(CFLAGS)) endif +# This fails on SCO with -ztext, becuase libcrypt.a is a COFF library +ifeq ($(PORTNAME), sco) +override perl_embed_ldflags := $(filter-out -lcrypt, $(perl_embed_ldflags)) +endif + override CPPFLAGS := -I$(srcdir) -I$(perl_archlibexp)/CORE $(CPPFLAGS) @@ -30,7 +35,6 @@ include $(top_srcdir)/src/Makefile.shlib - all: all-lib SPI.c: SPI.xs --- ./src/template/sco.osd 2003-06-23 10:11:18.000000000 -0700 +++ ./src/template/sco 2003-06-23 10:11:07.000000000 -0700 @@ -2,6 +2,6 @@ CFLAGS=-O2 else CFLAGS=-O + CC="$CC -b elf" fi -CC="$CC -b elf" --- ./src/Makefile.shlib.osd 2003-06-23 11:55:26.000000000 -0700 +++ ./src/Makefile.shlib 2003-06-23 13:05:14.000000000 -0700 @@ -171,7 +171,7 @@ else LINK.shared = $(CC) -G endif - LINK.shared += -Wl,-z,text -Wl,-h,$(soname) + LINK.shared += -Wl,-z,text -Wl,-h,$(RPATHDIR)$(soname) endif ifeq ($(PORTNAME), svr4)
--- End Message ---
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings