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

From: teg(at)redhat(dot)com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=)
To: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: Deds Castillo <deds(at)infiniteinfo(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included in RH7.2
Date: 2001-11-09 22:27:01
Message-ID: xuyg07n7f7u.fsf@halden.devel.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

teg(at)redhat(dot)com (Trond Eivind Glomsrød) writes:

> Lamar Owen <lamar(dot)owen(at)wgcr(dot)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 = -fPIC
> TCL_CFLAGS_WARNING = -Wall -Wconversion -Wno-implicit-int
> TCL_EXTRA_CFLAGS =
> -TCL_SHLIB_LD = gcc -pipe -shared -Wl,-soname,libtcl.so.0
> +TCL_SHLIB_LD = gcc -pipe -shared -Wl,-soname,libpltcl.so.0
> TCL_STLIB_LD = ar cr
> TCL_SHLIB_LD_LIBS = ${LIBS}
> TCL_SHLIB_SUFFIX = .so

(scratch that - this file is generated when building)

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-11-09 22:44:26 Re: best method of reloading pg_hba.conf
Previous Message G. Anthony Reina 2001-11-09 22:22:04 Re: 'real' strange problem in 7.1.3