Re: [ADMIN] Problem of LD_LIBRARY_PATH

2011-09-18 Thread Scott Marlowe
On Sun, Sep 18, 2011 at 8:00 PM, Rural Hunter wrote: > Well, I installed pg by the official one-click graphic > installer(http://www.enterprisedb.com/products/pgdownload.do). But ahh, when > I tried to get an error message if I don't set LD_LIBRARY_PATH, I found it's > now working without this var

Re: [ADMIN] Problem of LD_LIBRARY_PATH

2011-09-18 Thread Rural Hunter
Well, I installed pg by the official one-click graphic installer(http://www.enterprisedb.com/products/pgdownload.do). But ahh, when I tried to get an error message if I don't set LD_LIBRARY_PATH, I found it's now working without this variable. The variable was added into my env for 9.1rc. If I

Re: [ADMIN] Problem of LD_LIBRARY_PATH

2011-09-18 Thread Ray Stell
On Sun, Sep 18, 2011 at 10:47:39AM +0800, Rural Hunter wrote: > Any suggestion? I don't do ubuntu this week, so I may be out to lunch, but why don't you append to the system set value of the var. In RH (this week) we do this in /etc/profile.d/localpath.sh but shirley ubuntu has some means for doin

Re: [ADMIN] Problem of LD_LIBRARY_PATH

2011-09-18 Thread Peter Eisentraut
On sön, 2011-09-18 at 22:41 +0800, Rural Hunter wrote: > I didn't install anything else there: (for a very small value of "anything else") It looks like you have some version of libncurses in there, which is prone to interfere with the operating system installation. I suppose you got this instal

Re: [ADMIN] Problem of LD_LIBRARY_PATH

2011-09-18 Thread Rural Hunter
I didn't install anything else there: postgres@backup:~$ ls -l /opt/PostgreSQL/9.1/lib/ Total 9804 -rwxr-xr-- 1 root daemon 1366272 2011-09-09 13:45 libcrypto.so.6 -rw-r--r-- 1 root daemon 149938 2011-09-09 13:44 libecpg.a -rw-r--r-- 1 root daemon 18852 2011-09-09 13:44 libecpg_compat.a -rwxr-x

Re: [ADMIN] Problem of LD_LIBRARY_PATH

2011-09-18 Thread Peter Eisentraut
On sön, 2011-09-18 at 14:56 +0800, Rural Hunter wrote: > This is my env: > postgres@backup:~$ env > MANPATH=:/opt/PostgreSQL/9.1/share/man > SHELL=/bin/bash > TERM=linux > USER=postgres > LD_LIBRARY_PATH=/opt/PostgreSQL/9.1/lib/ > PGPORT=3500 > LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;

Re: [ADMIN] Problem of LD_LIBRARY_PATH

2011-09-18 Thread Rural Hunter
yes, tried that too and same thing happened. 于2011年9月18日 17:09:25,Richard Shaw写到: Tried adding the path to ldconfig rather than redefining ld_library_path? On 18 Sep 2011, at 09:03, Scott Marlowe wrote: Wow, you got me. On Sun, Sep 18, 2011 at 12:56 AM, Rural Hunter wrote: This is my env:

Re: [ADMIN] Problem of LD_LIBRARY_PATH

2011-09-18 Thread Richard Shaw
Tried adding the path to ldconfig rather than redefining ld_library_path? On 18 Sep 2011, at 09:03, Scott Marlowe wrote: > Wow, you got me. > > On Sun, Sep 18, 2011 at 12:56 AM, Rural Hunter wrote: >> This is my env: >> postgres@backup:~$ env >> MANPATH=:/opt/PostgreSQL/9.1/share/man >> SHELL=/

Re: [ADMIN] Problem of LD_LIBRARY_PATH

2011-09-18 Thread Scott Marlowe
Wow, you got me. On Sun, Sep 18, 2011 at 12:56 AM, Rural Hunter wrote: > This is my env: > postgres@backup:~$ env > MANPATH=:/opt/PostgreSQL/9.1/share/man > SHELL=/bin/bash > TERM=linux > USER=postgres > LD_LIBRARY_PATH=/opt/PostgreSQL/9.1/lib/ > PGPORT=3500 > LS_COLORS=rs=0:di=01;34:ln=01;36:mh=

Re: [ADMIN] Problem of LD_LIBRARY_PATH

2011-09-17 Thread Rural Hunter
This is my env: postgres@backup:~$ env MANPATH=:/opt/PostgreSQL/9.1/share/man SHELL=/bin/bash TERM=linux USER=postgres LD_LIBRARY_PATH=/opt/PostgreSQL/9.1/lib/ PGPORT=3500 LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;

Re: [ADMIN] Problem of LD_LIBRARY_PATH

2011-09-17 Thread Scott Marlowe
2011/9/17 Rural Hunter : > I installed pgsql 9.1 on Ubuntu server(10.10). Now I have a problem with the > required env variable LD_LIBRARY_PATH. If I do not set this, I can not use > some pg tools such as pg_dump, createuser...etc. If I set this variable, my > term gets warning "unknown terminal ty

[ADMIN] Problem of LD_LIBRARY_PATH

2011-09-17 Thread Rural Hunter
I installed pgsql 9.1 on Ubuntu server(10.10). Now I have a problem with the required env variable LD_LIBRARY_PATH. If I do not set this, I can not use some pg tools such as pg_dump, createuser...etc. If I set this variable, my term gets warning "unknown terminal type" for some linux commands s