Re: OS X library path issues for libpq (ver 8.3

From: Jerry LeVan <jerry(dot)levan(at)eku(dot)edu>
To: pgsql-general-owner(at)postgresql(dot)org
Subject: Re: OS X library path issues for libpq (ver 8.3
Date: 2008-09-09 23:27:14
Message-ID: 76EE02EE-26DC-439E-BB7A-425CB4AFC89C@eku.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Have you tried putting your environmental variables
in:
.MacOSX

I have some apps that need access to some PG enviromental
variables and I had to put them in a plist in the
directory .MacOSX

e.g.

[mbp:~/.MacOSX]$ ls -al ~/.MacOSX
total 8
drwxr-xr-x 3 jerry jerry 102 Jun 25 2007 .
drwxr-xr-x+ 113 jerry jerry 3842 Sep 7 12:45 ..
-rw-r--r-- 1 jerry jerry 334 Jun 25 2007 environment.plist

and

[mbp:~/.MacOSX]$ cat environment.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd
">
<plist version="1.0">
<dict>
<key>PGDATABASE</key>
<string>levan</string>
<key>PGHOST</key>
<string>localhost</string>
<key>PGUSER</key>
<string>levan</string>
</dict>
</plist>

The plist contents act like regular unix style environmental variables
for apps started from the Finder.

Perhaps placing the path informationfor the dynamic loader in the
plist would
solve your problems.

Jerry

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Davis 2008-09-09 23:27:18 Re: Can interval take a value from a field?
Previous Message justin 2008-09-09 23:12:18 Re: Automated Backup On Windows