pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Constantin Teodorescu <teo@flex.ro>
Cc: Ross J. Reedstrom <reedstrm@rice.edu>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] pgAccess fails to launch on HPUX
Date: Wed, 07 Feb 2001 16:42:08 -0500
Message-ID: <10989.981582128@sss.pgh.pa.us> (raw)
In-Reply-To: <3A81B5C5.CA918FD5@flex.ro>
References: <6811.981570898@sss.pgh.pa.us>
	<20010207124913.A29490@rice.edu>
	<3A81B5C5.CA918FD5@flex.ro>

Constantin Teodorescu <teo@flex.ro> writes:
> Yes. The full path to libpgtcl might be specified directly in pgaccess.

I have committed pgaccess changes to do this.

> But libpq library need to be found automatically because it isn't in a "load"
> explicit command.

At least on HPUX 10, this seems to work anyway, presumably because the
correct search path is embedded into libpgtcl.sl.  I imagine that not
all platforms have 'rpath' info embedded into shlibs, so there may be
other platforms where you still need to set LD_LIBRARY_PATH to find
libpq.so.

Thought: would it be out of line for pgaccess.sh to set LD_LIBRARY_PATH
explicitly to cover this possibility?

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <10989.981582128@sss.pgh.pa.us>
Permalink:  ../10989.981582128@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10989.981582128@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, teo@flex.ro, reedstrm@rice.edu, pgsql-hackers@postgresql.org
  Subject: Re: [INTERFACES] pgAccess fails to launch on HPUX
  In-Reply-To: <10989.981582128@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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