Re: Hacking PostgreSQL to work in Mac OS X 10.3 (Panther 7B85)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: James Wilson <jwilson(at)lithiumcorp(dot)com>
Cc: Marko Karppinen <marko(at)karppinen(dot)fi>, pgsql-hackers(at)postgresql(dot)org, eric(at)opendarwin(dot)org, charlie(at)rubberduck(dot)com, swm(at)zipworld(dot)com(dot)au
Subject: Re: Hacking PostgreSQL to work in Mac OS X 10.3 (Panther 7B85)
Date: 2003-10-14 18:03:36
Message-ID: 11248.1066154616@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

James Wilson <jwilson(at)lithiumcorp(dot)com> writes:
> make -C ecpglib all
> gcc -no-cpp-precomp -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -bundle execute.o typename.o descriptor.o
> data.o error.o prepare.o memory.o connect.o misc.o
> -L../../../../src/port -L/opt/local/lib -L../pgtypeslib -lpgtypes
> -L../../../../src/interfaces/libpq -lpq -lm -o libecpg.so.4.0
> ld: Undefined symbols:
> _PQfreemem
> _PQresultErrorField
> _PQsetNoticeReceiver
> _last_path_separator

I'll bet you have an old libpq in /opt/local/lib. Why is that getting
included in the link anyway?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2003-10-14 18:09:18 Re: pg_ctl reload - is it safe?
Previous Message Marko Karppinen 2003-10-14 18:02:45 Re: [PERFORM] Sun performance - Major discovery!