From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 6876 invoked from network); 19 Jan 1999 10:38:41 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 19 Jan 1999 10:38:41 -0000 Received: from flow.geo.vu.nl (root@flow.geo.vu.nl [130.37.64.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id FAA06042 for ; Tue, 19 Jan 1999 05:13:35 -0500 Received: (from schj@localhost) by flow.geo.vu.nl (8.8.7/8.8.5) id IAA20777; Tue, 19 Jan 1999 08:44:13 +0100 From: Jaap Schellekens MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 19 Jan 1999 08:44:12 +0100 (MET) To: axp-list@redhat.com Subject: libffm and LD_PRELOAD, a tip X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13988.13862.606894.989237@flow.geo.vu.nl> Fro those of you that want the extra speed of libffm and do not want to recompile large packages (octave for example takes a lot of time to recompile) setting a LD_PRELOAD environent does the trick. I use "setenv LD_PRELOAD /usr/local/lib/libffm.so.1" (csh obviously) if i now do a ldd on a file, libffm gets listed first. I did some tests and it works fine on my system. To be honest i learned this from the bladeenc author after I asked him is he could link his (binary-only) program with the faster libs. Using this trick bladeenc runs about 25% faster in my box. Cheers -- Jaap -- -------------------------------------------------------------- Jaap Schellekens E-mail: schj@geo.vu.nl Hydro(geo)logy Dept. Fax: ++31 20 6462457 Inst. of Earth Sc. Voice: ++31 20 4447287 Vrije Universiteit De Boelelaan 1085 1081 HV Amsterdam NL See also: http://flow.geo.vu.nl