* Colin Watson ([EMAIL PROTECTED]) [021212 03:34]: > On Thu, Dec 12, 2002 at 12:44:37AM -0800, Vineet Kumar wrote: > > Has anybody put together a good, clean way to get mod_ssl to use the > > /usr/lib/i586/libssl.so.0.9.6 in order to gain that 2x speed boost? > > I was under the strong impression that the dynamic loader (since well > before woody at least) looks in /usr/lib/i586 for libraries if you have > an i586.
You're probably right. It occured to me that as my sid machine is a PIII, it's probably looking in i686 (or somewhere else, I guess, see below) instead of i586, which DNE. Does anyone have evidence of this working correctly on an i586? I just tried getting it to work via /usr/local/lib/i686 and, failing that, /usr/lib/i686, but again, to no avail. Any idea where it should go for a P3? > > My hunch is that this isn't the case, since on a sid machine, ldd (and > > openssl speed rsa tests) show that the loader doesn't perform any magic > > to use the optimized library; I must use LD_LIBRARY_PATH to have it > > loaded. > > What does 'strace -etrace=open' show the loader doing? open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 open("/usr/lib/libssl.so.0.9.6", O_RDONLY) = 3 open("/usr/lib/libcrypto.so.0.9.6", O_RDONLY) = 3 open("/lib/libdl.so.2", O_RDONLY) = 3 open("/lib/libc.so.6", O_RDONLY) = 3 open("/usr/lib/ssl/openssl.cnf", O_RDONLY) = 3 That's identical on my sid PIII and my woody celeron. Doesn't look like it looks in /usr/lib/i[56]86 at all. Can anyone show otherwise? good times, Vineet -- http://www.doorstop.net/ -- --Nick Moffitt A: No. Q: Should I include quotations after my reply?
msg18773/pgp00000.pgp
Description: PGP signature