From josh@4dmatrix.com Tue Oct 8 03:11:03 2002 Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5A828476120 for ; Mon, 7 Oct 2002 23:11:03 -0400 (EDT) Received: from mail.4dmatrix.com (mail.4dmatrix.com [208.248.151.248]) by postgresql.org (Postfix) with ESMTP id A562E47609B for ; Mon, 7 Oct 2002 23:11:02 -0400 (EDT) Received: from joshdesk2 (sonicwall.4dmatrix.com [208.248.151.201] (may be forged)) by mail.4dmatrix.com (8.9.3/8.9.3) with SMTP id UAA28875 for ; Mon, 7 Oct 2002 20:02:14 -0700 Message-ID: <005701c26e78$48204340$6e02a8c0@4dmatrix.com> From: "Josh Goldberg" To: "postgres-admin" Subject: problems with pltcl.so Date: Mon, 7 Oct 2002 20:10:40 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0054_01C26E3D.9B9B45A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/46 X-Sequence-Number: 5904 This is a multi-part message in MIME format. ------=_NextPart_000_0054_01C26E3D.9B9B45A0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable I am trying to use pgreplicator and after (FINALLY) seeming to have the pro= gram running, I run into an error loading pltcl.so somewhere in the code. = The following error is sent to me from the backend: ERROR: Load of file /home/postgres/lib/pltcl.so failed: dlopen '/home/post= gres/lib/pltcl.so' failed. (Shared object "libtcl80.so.1" not found) I am on freebsd 4.4, I have libtcl80.so.1 in /usr/local/lib and not only is= it in my ld-elf.so.hints file but I also manually put /usr/local/lib in my= LD_LIBRARY_PATH to no avail. I built tcl80 from the ports collection and = compiled postgres7.2.2 against the sources in the ports directory. Any ide= as? I would greatly appreciate help on this! Josh Goldberg ------=_NextPart_000_0054_01C26E3D.9B9B45A0 Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable
I am trying to use pgreplicator and after = (FINALLY)=20 seeming to have the program running, I run into an error loading pltcl.so= =20 somewhere in the code.  The following error is sent to me from the=20 backend:
 
ERROR:  Load of file=20 /home/postgres/lib/pltcl.so failed: dlopen '/home/postgres/lib/pltcl.so' fa= iled.=20 (Shared object "libtcl80.so.1" not found)
 
I am on freebsd 4.4, I have libtcl80.so.1 = in=20 /usr/local/lib and not only is it in my ld-elf.so.hints file but I also man= ually=20 put /usr/local/lib in my LD_LIBRARY_PATH to no avail.  I built tcl80 f= rom=20 the ports collection and compiled postgres7.2.2 against the sources in the = ports=20 directory.  Any ideas?  I would greatly appreciate help on=20 this!
 
Josh Goldberg
------=_NextPart_000_0054_01C26E3D.9B9B45A0-- From tgl@sss.pgh.pa.us Tue Oct 8 13:53:12 2002 Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 99FDA476AA5 for ; Tue, 8 Oct 2002 09:53:12 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 30A7D476C04 for ; Tue, 8 Oct 2002 09:50:51 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g98DoNhR001501; Tue, 8 Oct 2002 09:50:23 -0400 (EDT) To: "Josh Goldberg" Cc: "postgres-admin" Subject: Re: problems with pltcl.so In-reply-to: <005701c26e78$48204340$6e02a8c0@4dmatrix.com> References: <005701c26e78$48204340$6e02a8c0@4dmatrix.com> Comments: In-reply-to "Josh Goldberg" message dated "Mon, 07 Oct 2002 20:10:40 -0700" Date: Tue, 08 Oct 2002 09:50:22 -0400 Message-ID: <1500.1034085022@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/50 X-Sequence-Number: 5908 "Josh Goldberg" writes: > ERROR: Load of file /home/postgres/lib/pltcl.so failed: dlopen '/home/post= > gres/lib/pltcl.so' failed. (Shared object "libtcl80.so.1" not found) > I am on freebsd 4.4, I have libtcl80.so.1 in /usr/local/lib and not only is= > it in my ld-elf.so.hints file but I also manually put /usr/local/lib in my= > LD_LIBRARY_PATH to no avail. I'm not very familiar with freebsd, but if it uses LD_LIBRARY_PATH, keep in mind that the value that counts is the one in the postmaster's environment. Did you restart the postmaster with the corrected path in its environment variables? regards, tom lane From josh@4dmatrix.com Tue Oct 8 18:51:40 2002 Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7EB1E475F18 for ; Tue, 8 Oct 2002 14:51:40 -0400 (EDT) Received: from mail.4dmatrix.com (mail.4dmatrix.com [208.248.151.248]) by postgresql.org (Postfix) with ESMTP id DC80C475F16 for ; Tue, 8 Oct 2002 14:51:39 -0400 (EDT) Received: from joshdesk2 (sonicwall.4dmatrix.com [208.248.151.201] (may be forged)) by mail.4dmatrix.com (8.9.3/8.9.3) with SMTP id LAA10758; Tue, 8 Oct 2002 11:42:40 -0700 Message-ID: <00a401c26efb$aaa79030$6e02a8c0@4dmatrix.com> From: "Josh Goldberg" To: "Tom Lane" Cc: "postgres-admin" References: <005701c26e78$48204340$6e02a8c0@4dmatrix.com> <1500.1034085022@sss.pgh.pa.us> Subject: Re: problems with pltcl.so Date: Tue, 8 Oct 2002 11:51:09 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/56 X-Sequence-Number: 5914 my goodness that didn't even brush past my mind! thanks much for the assist! :) ----- Original Message ----- From: "Tom Lane" To: "Josh Goldberg" Cc: "postgres-admin" Sent: Tuesday, October 08, 2002 6:50 AM Subject: Re: [ADMIN] problems with pltcl.so > "Josh Goldberg" writes: > > ERROR: Load of file /home/postgres/lib/pltcl.so failed: dlopen '/home/post= > > gres/lib/pltcl.so' failed. (Shared object "libtcl80.so.1" not found) > > > I am on freebsd 4.4, I have libtcl80.so.1 in /usr/local/lib and not only is= > > it in my ld-elf.so.hints file but I also manually put /usr/local/lib in my= > > LD_LIBRARY_PATH to no avail. > > I'm not very familiar with freebsd, but if it uses LD_LIBRARY_PATH, keep > in mind that the value that counts is the one in the postmaster's > environment. Did you restart the postmaster with the corrected path in > its environment variables? > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster > From josh@4dmatrix.com Tue Oct 8 18:52:47 2002 Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5C981476854 for ; Tue, 8 Oct 2002 14:52:47 -0400 (EDT) Received: from mail.4dmatrix.com (mail.4dmatrix.com [208.248.151.248]) by postgresql.org (Postfix) with ESMTP id 8A10447674C for ; Tue, 8 Oct 2002 14:52:42 -0400 (EDT) Received: from joshdesk2 (sonicwall.4dmatrix.com [208.248.151.201] (may be forged)) by mail.4dmatrix.com (8.9.3/8.9.3) with SMTP id LAA10842; Tue, 8 Oct 2002 11:43:42 -0700 Message-ID: <00ae01c26efb$cf736c90$6e02a8c0@4dmatrix.com> From: "Josh Goldberg" To: "Tom Lane" , "Chad R. Larson" Cc: "postgres-admin" References: <005701c26e78$48204340$6e02a8c0@4dmatrix.com> <005701c26e78$48204340$6e02a8c0@4dmatrix.com> <4.2.2.20021008113323.00af33c0@smtp.ecinet.com> Subject: Re: problems with pltcl.so Date: Tue, 8 Oct 2002 11:52:11 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/57 X-Sequence-Number: 5915 It was listed in the ldconfig hints file, but adding LD_LIBRARY_PATH to the postmaster's login environment explicitly did the trick. ----- Original Message ----- From: "Chad R. Larson" To: "Tom Lane" ; "Josh Goldberg" Cc: "postgres-admin" Sent: Tuesday, October 08, 2002 11:34 AM Subject: Re: [ADMIN] problems with pltcl.so > In FreeBSD there is a utility called "ldconfig(8)" that sets up the hint > cache. If you add something to a library directory you will need to re-run > it, or reboot (it is run out of /etc/rc). > > At 06:50 AM 10/8/02 , Tom Lane wrote: > >"Josh Goldberg" writes: > > > ERROR: Load of file /home/postgres/lib/pltcl.so failed: dlopen > > '/home/post= > > > gres/lib/pltcl.so' failed. (Shared object "libtcl80.so.1" not found) > > > > > I am on freebsd 4.4, I have libtcl80.so.1 in /usr/local/lib and not > > only is= > > > it in my ld-elf.so.hints file but I also manually put /usr/local/lib > > in my= > > > LD_LIBRARY_PATH to no avail. > > > >I'm not very familiar with freebsd, but if it uses LD_LIBRARY_PATH, keep > >in mind that the value that counts is the one in the postmaster's > >environment. Did you restart the postmaster with the corrected path in > >its environment variables? > > > > regards, tom lane > > > >---------------------------(end of broadcast)--------------------------- > >TIP 4: Don't 'kill -9' the postmaster > > -crl > -- > Chad R. Larson (CRL22) chad@eldocomp.com > Eldorado Computing, Inc. 602-604-3100 > 5353 North 16th Street, Suite 400 > Phoenix, Arizona 85016-3228 >