Re: make problems on Apple's new 10.1 os

From: "Michael A(dot) Peters" <mpeters(at)mac(dot)com>
To: Russ McBride <Russ(at)psyex(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: make problems on Apple's new 10.1 os
Date: 2001-09-27 16:48:46
Message-ID: 20010927094846.4e732592.mpeters@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 26 Sep 2001 23:34:26 -0700
Russ McBride <Russ(at)psyex(dot)com> wrote:

>
> Has anyone else had trouble doing a make on the new OS X, 10.1 (with
> pg 7.1.3 & 7.1.2)? I'm getting a few errors preceded by:
>
> -undefined error must be used when -twolevel_namespace is in effect

In Darwin 1.4 Apple changed the default from -flat_namespace to
-twolevel_namespace

Generally there are two ways to deal with it-

You can specify -flat_namespace before -bundle -undefined suppress in the
ltconfig file, or you can change it all together to -bundle -bundle_loader
/path/to/bundle_loader/binary

In something like php where the php dso is loaded by /usr/sbin/httpd that
is preferred.
I don't know what's preferred in postgresql, but I do know that I did not
get it to succesfully build on 10.1 when I tried the -flat_namespace trick
:(

What did work for me, though its not a real solution, is to build it on
10.0.4, tar up the build directory, and then run make install on 10.1

If a "real" solution doesn't present itself, that would work.

>
> Russ
>

--
-=-=-=-=-=-=-=-=-=-=-=-=-
Michael A. Peters
http://24.5.29.77:10080/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brent R. Matzelle 2001-09-27 17:11:15 Re: New To PostgreSQL
Previous Message Doug McNaught 2001-09-27 16:41:02 Re: New To PostgreSQL