Re: Hacking PostgreSQL to work in Mac OS X 10.3 (Panther 7B85) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Hacking PostgreSQL to work in Mac OS X 10.3 (Panther 7B85)
Date
Msg-id 11248.1066154616@sss.pgh.pa.us
Whole thread Raw
In response to Re: Hacking PostgreSQL to work in Mac OS X 10.3 (Panther 7B85)  (James Wilson <jwilson@lithiumcorp.com>)
Responses Re: Hacking PostgreSQL to work in Mac OS X 10.3 (Panther 7B85)
List pgsql-hackers
James Wilson <jwilson@lithiumcorp.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


pgsql-hackers by date:

Previous
From: Marko Karppinen
Date:
Subject: Re: [PERFORM] Sun performance - Major discovery!
Next
From: Greg Stark
Date:
Subject: Re: pg_ctl reload - is it safe?