Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included in RH7.2 - Mailing list pgsql-hackers

From teg@redhat.com (Trond Eivind Glomsrød)
Subject Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included in RH7.2
Date
Msg-id xuyk7wz7fq4.fsf@halden.devel.redhat.com
Whole thread Raw
In response to Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included in RH7.2  (teg@redhat.com (Trond Eivind Glomsrød))
Responses Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included in RH7.2
List pgsql-hackers
Lamar Owen <lamar.owen@wgcr.org> writes:

> On Friday 09 November 2001 04:50 pm, Trond Eivind Glomsrød wrote:
> > Creating the module with a different so-name ("libtcl" seems like a
> > bad idea to use outside the main package) solves the problem and gives
> > you a module which loads
> 
> > gcc -pipe -shared -Wl,-soname,libpgtcl.so.0 -o pltcl.so pltcl.o -L/usr/lib
> > -ltcl -ldl  -lieee -lm -lc
> 
> Will this cause any conflicts with the tcl client lib 'libpgtcl.so.x'?  
> Should the soname be 'pltcl.so.0' ?

--- postgresql-7.1.3/src/pl/tcl/Makefile.tcldefs.tclsoname    Fri Nov  9 17:12:38 2001
+++ postgresql-7.1.3/src/pl/tcl/Makefile.tcldefs    Fri Nov  9 17:15:03 2001
@@ -19,7 +19,7 @@TCL_SHLIB_CFLAGS = -fPICTCL_CFLAGS_WARNING = -Wall -Wconversion -Wno-implicit-intTCL_EXTRA_CFLAGS = 
-TCL_SHLIB_LD = gcc -pipe -shared -Wl,-soname,libtcl.so.0
+TCL_SHLIB_LD = gcc -pipe -shared -Wl,-soname,libpltcl.so.0TCL_STLIB_LD = ar crTCL_SHLIB_LD_LIBS =
${LIBS}TCL_SHLIB_SUFFIX= .so
 


-- 
Trond Eivind Glomsrød
Red Hat, Inc.


pgsql-hackers by date:

Previous
From: David Ford
Date:
Subject: best method of reloading pg_hba.conf
Next
From: Lamar Owen
Date:
Subject: Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included in RH7.2