Gentoo Archives: gentoo-server

From: Kerin Millar <kerin@×××××××××××××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Compiling mod_php with postgresql support without emerging postgres ?
Date: Fri, 16 Jul 2004 14:08:18
Message-Id: 1292.10.0.0.50.1089986878.squirrel@10.0.0.50
In Reply to: Re: [gentoo-server] Compiling mod_php with postgresql support without emerging postgres ? by tvanscoy@trusionhosting.com
1 > I'm new to prelinking so correct me if I'm wrong, but would prelinking the
2 > postgresql libraries to libphp4.so serve a purpose? As long as he doesn't
3 > change the mod_php install you won't need to worry about the postgres
4 > headers
5 > anymore.
6 >
7
8 As far as I'm aware, prelinking reduces the overhead incurred by run-time
9 relocation(s) where dependent libraries are loaded, and possible
10 associated conflicts.
11
12 So, unless mod_php were to statically compile in the necessary support, it
13 is still necessary to have the library present. Furthermore, if the
14 library were changed then the prelinking process would have to be
15 conducted again for the performance benefits to continue to be realised.
16
17 That's how I understand it in any case ...
18
19 Regards,
20
21 --Kerin Francis Millar