Re: Reduce dependancies of postmaster (without --as-needed) - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: Reduce dependancies of postmaster (without --as-needed)
Date
Msg-id 20051127213059.GC7138@surnet.cl
Whole thread Raw
In response to [PATCH] Reduce dependancies of postmaster (without --as-needed)  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Reduce dependancies of postmaster (without --as-needed)  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-patches
Martijn van Oosterhout wrote:

> Attached is a patch which applies this filtering to the backend and has
> the same results as linking with --as-needed. I basically took the
> filter list of libpq and altered it as follows:
>
> libs removed: -lnsl -lresolv
> libs added: -ldl -lm

Hmm, we don't need -ldl?  How do we implement OPEN etc if not without
dlopen()?  [looks around]  I see this is with pg_dlopen which in turn is
dlopen in Linux and others.  Did you try contrib's regression test?
plperl's?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-patches by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: [PATCH] Reduce dependancies of postmaster (without --as-needed)
Next
From: Volkan YAZICI
Date:
Subject: Re: Case Conversion Fix for MB Chars