Skip site navigation (1) Skip section navigation (2)

Re: 8.3.3 compile fails on Mac OS X 10.5.2

From: "Randall Lucas" <rlucas(at)tercent(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Re: 8.3.3 compile fails on Mac OS X 10.5.2
Date: 2008-06-28 00:00:25
Message-ID: 7d5145af0806271700p3380fad0r993cbebd9da67402@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-ports
Just confirmed after make distclean and ./configure that the same
error persists in Mac OS X 10.5.3 (9D34).

Best,

Randall

On Fri, Jun 27, 2008 at 4:08 PM, Randall Lucas <rlucas(at)tercent(dot)com> wrote:
> Compiling of PostgreSQL 8.3.3 on Mac OS X 10.5.2 (9C2031) fails with
> the following error.  I got the same error whether I did a "vanilla"
> ./configure or whether I used a variety of --with-X flags (e.g. perl,
> libxslt).  The use or non-use of --with-libedit-preferred does not
> change the outcome (as suggested in this blog post:
> http://www.stereoplex.com/two-voices/error-compiling-postgresql-8.3-on-leopard-rl_completion_matches
> )
>
> This is a fairly stock 10.5 machine (quad-core Mac Pro) that I just
> got last week, but I do have developer tools installed on it.
>
> Also, a pending software update is about to require me to reboot.  (I
> will post again if the update fixes the issue).
>
> Any suggestions?  More info needed?
>
> Error:
>
> gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith
> -Winline -Wdeclaration-after-statement -Wendif-labels
> -fno-strict-aliasing -fwrapv   -dynamiclib -install_name
> /usr/local/pgsql-8.3/lib/libecpg.6.dylib -compatibility_version 6
> -current_version 6.0 -exported_symbols_list exports.list
> -multiply_defined suppress  execute.o typename.o descriptor.o data.o
> error.o prepare.o memory.o connect.o misc.o path.o pgstrcasecmp.o
> thread.o -L../pgtypeslib -L../../../../src/interfaces/libpq
> -L../../../../src/port -L/sw/lib -L/sw/lib -lpgtypes -lpq -lm  -o
> libecpg.6.0.dylib
> Undefined symbols:
>  "_PGTYPESdate_from_asc", referenced from:
>     _ecpg_get_data in data.o
>     _ecpg_get_data in data.o
>  "_PQfinish", referenced from:
>     _ecpg_finish in connect.o
>  "_PQsetdbLogin", referenced from:
>     _ECPGconnect in connect.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[4]: *** [libecpg.6.0.dylib] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
>

In response to

pgsql-ports by date

Next:From: Tom LaneDate: 2008-06-28 02:45:50
Subject: Re: Fwd: 8.3.3 compile fails on Mac OS X 10.5.2
Previous:From: Randall LucasDate: 2008-06-27 23:08:44
Subject: Fwd: 8.3.3 compile fails on Mac OS X 10.5.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group