pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
problems with pltcl.so 4+ messages / 2 participants [nested] [flat]
* problems with pltcl.so @ 2002-10-08 03:10 Josh Goldberg <josh@4dmatrix.com> 0 siblings, 2 replies; 4+ messages in thread From: Josh Goldberg @ 2002-10-08 03:10 UTC (permalink / raw) To: pgsql-admin I am trying to use pgreplicator and after (FINALLY) seeming to have the program 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/postgres/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 ideas? I would greatly appreciate help on this! Josh Goldberg ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: problems with pltcl.so @ 2002-10-08 13:50 Tom Lane <tgl@sss.pgh.pa.us> parent: Josh Goldberg <josh@4dmatrix.com> 1 sibling, 1 reply; 4+ messages in thread From: Tom Lane @ 2002-10-08 13:50 UTC (permalink / raw) To: Josh Goldberg <josh@4dmatrix.com>; +Cc: pgsql-admin "Josh Goldberg" <josh@4dmatrix.com> 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 ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: problems with pltcl.so @ 2002-10-08 18:51 Josh Goldberg <josh@4dmatrix.com> parent: Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Josh Goldberg @ 2002-10-08 18:51 UTC (permalink / raw) To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin my goodness that didn't even brush past my mind! thanks much for the assist! :) ----- Original Message ----- From: "Tom Lane" <tgl@sss.pgh.pa.us> To: "Josh Goldberg" <josh@4dmatrix.com> Cc: "postgres-admin" <pgsql-admin@postgresql.org> Sent: Tuesday, October 08, 2002 6:50 AM Subject: Re: [ADMIN] problems with pltcl.so > "Josh Goldberg" <josh@4dmatrix.com> 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 > ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: problems with pltcl.so @ 2002-10-08 18:52 Josh Goldberg <josh@4dmatrix.com> parent: Josh Goldberg <josh@4dmatrix.com> 1 sibling, 0 replies; 4+ messages in thread From: Josh Goldberg @ 2002-10-08 18:52 UTC (permalink / raw) To: Tom Lane <tgl@sss.pgh.pa.us>; Chad R. Larson <clarson@eldocomp.com>; +Cc: pgsql-admin 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" <clarson@eldocomp.com> To: "Tom Lane" <tgl@sss.pgh.pa.us>; "Josh Goldberg" <josh@4dmatrix.com> Cc: "postgres-admin" <pgsql-admin@postgresql.org> 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" <josh@4dmatrix.com> 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 > ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2002-10-08 18:52 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2002-10-08 03:10 problems with pltcl.so Josh Goldberg <josh@4dmatrix.com> 2002-10-08 13:50 ` Tom Lane <tgl@sss.pgh.pa.us> 2002-10-08 18:51 ` Josh Goldberg <josh@4dmatrix.com> 2002-10-08 18:52 ` Josh Goldberg <josh@4dmatrix.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox