Re: Serious environment problem with 7.2 on Solaris

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Randall Perry <rgp(at)systame(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Serious environment problem with 7.2 on Solaris
Date: 2002-05-12 15:56:46
Message-ID: 111.1021219006@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Randall Perry <rgp(at)systame(dot)com> writes:
> LD_LIBRARY_PATH is set in root & postgres login script, but strange things
> are happening with it. If I ssh into server using postgres account
> LD_LIBRARY_PATH is set. But if I su postgres from another account it isn't,
> though all other variables from login script are set ok.

Hm. Not sure about Solaris, but on HPUX plain "su postgres" does not
run postgres' login script. You have to do "su - postgres" to make that
happen. Perhaps Solaris has some similar distinction?

Another question that comes to mind is did you remember to "export
LD_LIBRARY_PATH" in the script.

> If I switch back to 7.1.3, no problem.

Possibly the 7.1.3 build doesn't need libgcc (presumably because it was
compiled with Sun's compiler not gcc).

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-05-12 16:08:55 Re: Compiling
Previous Message Patrick Welche 2002-05-12 10:44:04 Re: Use of OIDS as primary keys