Re: 8.3.3 compile fails on Mac OS X 10.5.2

Поиск
Список
Период
Сортировка
От Randall Lucas
Тема Re: 8.3.3 compile fails on Mac OS X 10.5.2
Дата
Msg-id 7d5145af0806271700p3380fad0r993cbebd9da67402@mail.gmail.com
обсуждение исходный текст
Ответ на Fwd: 8.3.3 compile fails on Mac OS X 10.5.2  ("Randall Lucas" <rlucas@tercent.com>)
Список 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@tercent.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
>

В списке pgsql-ports по дате отправления:

Предыдущее
От: "Randall Lucas"
Дата:
Сообщение: Fwd: 8.3.3 compile fails on Mac OS X 10.5.2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fwd: 8.3.3 compile fails on Mac OS X 10.5.2