Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id B14C4B5DBFC for ; Sat, 17 Sep 2011 23:47:58 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 93430-05 for ; Sun, 18 Sep 2011 02:47:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-pz0-f42.google.com (mail-pz0-f42.google.com [209.85.210.42]) by mail.postgresql.org (Postfix) with ESMTP id 65A25B5DBC8 for ; Sat, 17 Sep 2011 23:47:52 -0300 (ADT) Received: by pzk1 with SMTP id 1so6600137pzk.1 for ; Sat, 17 Sep 2011 19:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=kYjwGX0nAmrNTbF58K0j4muSr+6GqUqPg6Drc+6o3L4=; b=Ibd121p3UqZpcSSHJYzDw4O/L5gh2ruaSVUGL39DQwkOtuP0PvhB1IaRTzdlNQ7qP6 DahaC7f3XZw9/2OZabbNfXfpCi6ZuLHnfi+Kb2YNjgNtgVJwz5hZmY2mWzd8hUDiwCeQ MXUB0THXxaKh2QdEDiiHHgGy1Qg8uRZ3uLajc= Received: by 10.68.62.232 with SMTP id b8mr1756085pbs.523.1316314072325; Sat, 17 Sep 2011 19:47:52 -0700 (PDT) Received: from [192.168.11.3] ([114.85.128.121]) by mx.google.com with ESMTPS id y5sm792031pbe.6.2011.09.17.19.47.47 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 17 Sep 2011 19:47:51 -0700 (PDT) Message-ID: <4E755BCB.6080706@gmail.com> Date: Sun, 18 Sep 2011 10:47:39 +0800 From: Rural Hunter User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Problem of LD_LIBRARY_PATH Content-Type: text/plain; charset=GB18030; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.889 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201109/115 X-Sequence-Number: 38352 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 such as top/vi so that I can not use them normally: postgres@backup:~$ top 'linux': unknown terminal type. Any suggestion?