Skip site navigation (1) Skip section navigation (2)

Re: Reduce dependancies of postmaster (without --as-needed)

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Reduce dependancies of postmaster (without --as-needed)
Date: 2005-11-27 21:30:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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?

Alvaro Herrera                      
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to


pgsql-patches by date

Next:From: Volkan YAZICIDate: 2005-11-27 21:47:45
Subject: Re: Case Conversion Fix for MB Chars
Previous:From: Martijn van OosterhoutDate: 2005-11-27 20:02:54
Subject: [PATCH] Reduce dependancies of postmaster (without --as-needed)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group