Thread: BUG #6549: Wrong $PATH setting after installation

BUG #6549: Wrong $PATH setting after installation

From
jf.vanderwoude@gmail.com
Date:
The following bug has been logged on the website:

Bug reference:      6549
Logged by:          Jelle Frans van der Woude
Email address:      jf.vanderwoude@gmail.com
PostgreSQL version: 9.1.2
Operating system:   OS X Snow Leopard
Description:=20=20=20=20=20=20=20=20

I've installed pg from the www.kyngchaos.com site. After installation, I've
checked the $PATH setting in terminal by $ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/pgsql/binbin:/sbin:=
/usr/X11/bin.

Notice the wrong 'binbin' setting. How to correct this?

Re: BUG #6549: Wrong $PATH setting after installation

From
Josh Kupershmidt
Date:
On Wed, Mar 21, 2012 at 10:12 AM,  <jf.vanderwoude@gmail.com> wrote:
> Operating system: =A0 OS X Snow Leopard

> I've installed pg from the www.kyngchaos.com site.

If the problem was caused by that installer, you'll have to contact
them to fix their package. FYI, the Postgres packages for OS X
supported here can be found at:
 http://www.postgresql.org/download/macosx/

> After installation, I've
> checked the $PATH setting in terminal by $ echo $PATH
> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/pgsql/binbin:/sbi=
n:/usr/X11/bin.
>
> Notice the wrong 'binbin' setting. How to correct this?

That should be easy enough to override for just your user with an
entry in your ~/.bash_profile . If you want to fix the source of the
problem, you might have to dig around to figure out which PATH
declaration is screwy. You could start looking at /etc/launchd.conf,
/etc/profile, /etc/bashrc, ~/.bashrc, ~/.bash_profile,
~/.MacOSX/environment.plist, and so on.

Josh