Received: from camberlo.demon.co.uk (root@camberlo.demon.co.uk [158.152.19.8]) by hub.org (8.8.8/8.7.5) with ESMTP id PAA19891; Mon, 20 Apr 1998 15:55:24 -0400 (EDT) Received: from camberlo.demon.co.uk (alvin@localhost [127.0.0.1]) by camberlo.demon.co.uk (8.8.7/8.8.7) with ESMTP id UAA07127; Mon, 20 Apr 1998 20:54:27 +0100 Message-Id: <199804201954.UAA07127@camberlo.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Constantin Teodorescu cc: PostgreSQL Interfaces , PostgreSQL Questions Subject: Re: [INTERFACES] Configuration & libpgtcl.so problems in PostgreSQL 6.3.2 on Linux In-reply-to: Your message of "Mon, 20 Apr 1998 18:00:40 +0300." <353B6318.243AF425@flex.ro> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_-19986063440" Date: Mon, 20 Apr 1998 20:54:27 +0200 From: Alvin van Raalte This is a multipart MIME message. --==_Exmh_-19986063440 Content-Type: text/plain; charset=us-ascii I think we must be the only people left using tcl under Linux. This hasn't worked for at least a month. In fact I cant recall any 6.3 version working. However attached is a patch that I submitted a while ago that fixes the problem. Alvin. --==_Exmh_-19986063440 Content-Type: text/plain; name="postgresql-patch-7"; charset=us-ascii Content-Description: postgresql-patch-7 Content-Disposition: attachment; filename="postgresql-patch-7" diff -ur /home/postgres/pgsql/src/interfaces/ecpg/lib/Makefile.in ./src/interfaces/ecpg/lib/Makefile.in --- /home/postgres/pgsql/src/interfaces/ecpg/lib/Makefile.in Tue Apr 7 11:35:31 1998 +++ ./src/interfaces/ecpg/lib/Makefile.in Mon Apr 13 11:17:14 1998 @@ -16,12 +16,10 @@ shlib := install-shlib-dep := ifeq ($(PORTNAME), linux) - ifdef LINUX_ELF - install-shlib-dep := install-shlib - shlib := libecpg.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) - LDFLAGS_SL = -shared -soname libecpg.so.$(SO_MAJOR_VERSION) - CFLAGS += $(CFLAGS_SL) - endif + install-shlib-dep := install-shlib + shlib := libecpg.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) + LDFLAGS_SL = -shared -soname libecpg.so.$(SO_MAJOR_VERSION) + CFLAGS += $(CFLAGS_SL) endif ifeq ($(PORTNAME), bsd) ifdef BSD_SHLIB diff -ur /home/postgres/pgsql/src/interfaces/libpgtcl/Makefile.in ./src/interfaces/libpgtcl/Makefile.in --- /home/postgres/pgsql/src/interfaces/libpgtcl/Makefile.in Tue Apr 7 11:35:33 1998 +++ ./src/interfaces/libpgtcl/Makefile.in Mon Apr 13 11:16:03 1998 @@ -34,12 +34,10 @@ LIBPQ = -L $(SRCDIR)/interfaces/libpq -lpq ifeq ($(PORTNAME), linux) - ifdef LINUX_ELF - install-shlib-dep := install-shlib - shlib := libpgtcl.so.1 - CFLAGS += $(CFLAGS_SL) - LDFLAGS_SL = -shared - endif + install-shlib-dep := install-shlib + shlib := libpgtcl.so.1 + CFLAGS += $(CFLAGS_SL) + LDFLAGS_SL = -shared endif ifeq ($(PORTNAME), bsd) diff -ur /home/postgres/pgsql/src/interfaces/libpq/Makefile.in ./src/interfaces/libpq/Makefile.in --- /home/postgres/pgsql/src/interfaces/libpq/Makefile.in Tue Apr 7 11:35:33 1998 +++ ./src/interfaces/libpq/Makefile.in Mon Apr 13 11:17:43 1998 @@ -32,12 +32,10 @@ shlib := install-shlib-dep := ifeq ($(PORTNAME), linux) - ifdef LINUX_ELF - install-shlib-dep := install-shlib - shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) - LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION) - CFLAGS += $(CFLAGS_SL) - endif + install-shlib-dep := install-shlib + shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) + LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION) + CFLAGS += $(CFLAGS_SL) endif ifeq ($(PORTNAME), bsd) ifdef BSD_SHLIB --==_Exmh_-19986063440--