From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Sean Chittenden <sean(at)chittenden(dot)org> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Examining the output of: ldd `which postgres` |
Date: | 2003-09-05 21:57:37 |
Message-ID: | 200309052157.h85LvbP24593@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Sean Chittenden wrote:
> % ldd `which postgres`
> /usr/local/bin/postgres:
> libintl.so.5 => /usr/local/lib/libintl.so.5 (0x282e6000)
> libz.so.2 => /lib/libz.so.2 (0x282ef000)
> libreadline.so.4 => /lib/libreadline.so.4 (0x282fd000)
> libcrypt.so.2 => /lib/libcrypt.so.2 (0x28325000)
> libm.so.2 => /lib/libm.so.2 (0x2833e000)
> libutil.so.3 => /lib/libutil.so.3 (0x28357000)
> libc.so.5 => /lib/libc.so.5 (0x28363000)
> libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2843d000)
> libncurses.so.5 => /lib/libncurses.so.5 (0x2852c000)
>
> Is it really necessary for postgres to be linked with ncurses (288K)
> and readline (156K)? It's .5M, not the end of the world, but it seems
> excessive. I know the postmaster has a CLI interface, but does it
> really require ncurses or readline? -sc
We add those to all links, mostly because it is too confusing to do it
per link. It doesn't hurt anything because it is dynamically linked, so
doesn't take any disk space, and in fact is never called.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-09-05 21:59:52 | Re: FK type mismatches? |
Previous Message | Bruce Momjian | 2003-09-05 21:55:29 | Re: Logging improvements and rehashing |