Re: Shared library conflicts - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Shared library conflicts
Date
Msg-id 20060623103626.GA8900@svana.org
Whole thread Raw
In response to Shared library conflicts  (Thomas Hallgren <thomas@tada.se>)
Responses Re: Shared library conflicts
List pgsql-hackers
On Fri, Jun 23, 2006 at 10:45:29AM +0200, Thomas Hallgren wrote:
> There was a discussion some time back concerning the linking of the
> postgres backend. Some libraries where linked although they where not
> needed, mainly because it was convenient.

AIUI, this was fixed in -HEAD. In the Makefile there's a filter command
to strip libraries not needed. One of them is libz.

From src/backend/Makefile:
# The backend doesn't need everything that's in LIBS, however
LIBS := $(filter-out -lz -lreadline -ledit -ltermcap -lncurses -lcurses, $(LIBS))

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: "Mark Woodward"
Date:
Subject: Re: vacuum, performance, and MVCC
Next
From: Thomas Hallgren
Date:
Subject: Re: Shared library conflicts