Re: MacOS X Build Fails

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Hunter Hillegas <lists(at)lastonepicked(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: MacOS X Build Fails
Date: 2001-09-11 23:48:41
Message-ID: Pine.LNX.4.30.0109120138250.680-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hunter Hillegas writes:

> cc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
> -bundle -undefined suppress -bundle -undefined suppress fe-auth.o
> fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o pqexpbuffer.o dllist.o
> pqsignal.o -o libpq.so.2.1
> /usr/bin/ld: -undefined error must be used when -twolevel_namespace is in
> effect
> make[3]: *** [libpq.so.2.1] Error 1

I don't use MacOS X, but I'm positive there are people who have previously
used PostgreSQL on MacOS X successfully. So please consider the
possibility that you have something unusual (newer/older/different) in
your setup.

However, I'm pretty sure that the Darwin shared library support in
PostgreSQL is broken. In particular, Darwin uses two different file
formats for linkable shared libraries and dynamically openable modules,
yet PostgreSQL uses the same commands to build both kinds. So right now
you might be better off configuring with --disable-shared.
Unfortunately, I don't know if that option actually works. :-(

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marko Kreen 2001-09-12 00:23:40 Re: Fwd: Re: unicode in 7.1
Previous Message Barry Lind 2001-09-11 23:33:16 Re: Fwd: Re: unicode in 7.1