Re: How do I run PG Tuning Wizard on Linux?

From: Sachin Srivastava <sachin(dot)srivastava(at)enterprisedb(dot)com>
To: Jennifer Trey <jennifer(dot)trey(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How do I run PG Tuning Wizard on Linux?
Date: 2009-07-30 20:14:19
Message-ID: 4A71FF1B.2090705@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


export
LD_LIBRARY_PATH=/opt/PostgreSQL/EnterpriseDB-TuningWizard/lib:$LD_LIBRARY_PATH

or

LD_LIBRARY_PATH=/opt/PostgreSQL/EnterpriseDB-TuningWizard/lib:$LD_LIBRARY_PATH
/opt/PostgreSQL/EnterpriseDB-TuningWizard/TuningWizard

Basically you have to set the LD_LIBRARY_PATH.

This will solve the problem also you can launch the TuningWizard from
menu icons.

On 07/31/2009 12:59 AM, Jennifer Trey wrote:
> Just another try on TuningWizard.
>
> I tried running it from console :
>
> root(at)Ubuntu-904-jaunty-64-minimal:/opt/PostgreSQL/EnterpriseDB-TuningWizard#
> ./TuningWizard
> ./TuningWizard: error while loading shared libraries: libexpat.so.0:
> cannot open shared object file: No such file or directory
>
> And :
>
> root(at)Ubuntu-904-jaunty-64-minimal:/opt/PostgreSQL/EnterpriseDB-TuningWizard#
> locate *libexpat*
>
> /opt/PostgreSQL/8.4/pgAdmin3/lib/libexpat.so
> /opt/PostgreSQL/8.4/pgAdmin3/lib/libexpat.so.0
> /opt/PostgreSQL/8.4/pgAdmin3/lib/libexpat.so.0.5.0
> /opt/PostgreSQL/EnterpriseDB-TuningWizard/lib/libexpat.so
> /opt/PostgreSQL/EnterpriseDB-TuningWizard/lib/libexpat.so.0
> /opt/PostgreSQL/EnterpriseDB-TuningWizard/lib/libexpat.so.0.5.0
> /usr/lib/libexpat.so.1
> /usr/lib/libexpat.so.1.5.2
> /usr/lib/libexpatw.so.1
> /usr/lib/libexpatw.so.1.5.2
> /usr/share/doc/libexpat1
> /usr/share/doc/libexpat1/changelog.Debian.gz
> /usr/share/doc/libexpat1/changelog.gz
> /usr/share/doc/libexpat1/copyright
> /var/lib/dpkg/info/libexpat1.list
> /var/lib/dpkg/info/libexpat1.md5sums
> /var/lib/dpkg/info/libexpat1.postinst
> /var/lib/dpkg/info/libexpat1.postrm
> /var/lib/dpkg/info/libexpat1.shlibs
>
>
> Any ideas?

--
Regards,
Sachin Srivastava
www.enterprisedb.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sachin Srivastava 2009-07-30 20:19:05 Re: pg_config --sharedir points to the wrong folder.. is this a problem?
Previous Message Jeff Davis 2009-07-30 19:58:47 Re: How to make an INSERT INTO to a view?