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

From: "Benjamin Reed" <rangerrick(at)gmail(dot)com>
To: "Dave Page" <dpage(at)pgadmin(dot)org>
Cc: "Darren Weber" <darren(dot)weber(dot)lists(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: OS X library path issues for libpq (ver 8.3)
Date: 2008-09-09 18:55:54
Message-ID: 57eba2250809091155p30ae4887r42fbbe5ed79e1ef6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Sep 9, 2008 at 2:46 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

>> For one thing, I've discovered that setting DYLD_LIBRARY_PATH is not a
>> great idea on OS X. For one, if you set it in your shell login
>> profiles (.bashrc, .profile, .cshrc or whatever), most applications
>> that are started from the 'Finder' will not see that setting (so it's
>> kinda useless unless you want to work from the terminal all day).
>
> Yup.

Correct. If you need the behavior of LD_LIBRARY_PATH on
linux/solaris, use DYLD_FALLBACK_LIBRARY_PATH instead.
DYLD_LIBRARY_PATH doesn't do what you think. It's the nuclear option.

>> Also, some discussion forums indicate that it can screw up some
>> applications. From reading 'man dyld', I gather that setting this
>> variable is useful for testing new libraries rather than a permanent
>> library solution.
>>
>> Today, I'm going to follow instructions here:
>> http://developer.apple.com/internet/opensource/postgres.html
>
> That's very old. I'd stick with the installer or MacPorts.

Or Fink. ;)

--
Benjamin Reed a.k.a. Ranger Rick
Fink, KDE, and Mac OS X development

Blog: http://www.raccoonfink.com/
Music: http://music.raccoonfink.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brent Wood 2008-09-09 19:16:35 Re: PostgreSQL TPC-H test result?
Previous Message James Gates 2008-09-09 18:49:30 Re: Postgres in a solaris zone - patch 125077-02 needed