Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux