Re: How do I run PG Tuning Wizard on Linux? - Mailing list pgsql-general

From Sachin Srivastava
Subject Re: How do I run PG Tuning Wizard on Linux?
Date
Msg-id 4A71FF1B.2090705@enterprisedb.com
Whole thread Raw
In response to Re: How do I run PG Tuning Wizard on Linux?  (Jennifer Trey <jennifer.trey@gmail.com>)
Responses Re: How do I run PG Tuning Wizard on Linux?
List 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@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@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

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: How to make an INSERT INTO to a view?
Next
From: Chris Browne
Date:
Subject: Re: SVN and Postgres 8.3