From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11411 invoked from network); 20 Jan 1999 07:57:52 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 20 Jan 1999 07:57:52 -0000 Received: from flow.geo.vu.nl (schj@flow.geo.vu.nl [130.37.64.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id CAA25786 for ; Wed, 20 Jan 1999 02:32:24 -0500 Received: (from schj@localhost) by flow.geo.vu.nl (8.8.7/8.8.5) id IAA24589; Wed, 20 Jan 1999 08:32:26 +0100 From: Jaap Schellekens MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 20 Jan 1999 08:32:25 +0100 (MET) To: axp-list@redhat.com Subject: Re: libffm and LD_PRELOAD, a tip In-Reply-To: <19990120051826.2164.qmail@hotmail.com> References: <19990120051826.2164.qmail@hotmail.com> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13989.34074.326419.564512@flow.geo.vu.nl> Designer 7 writes: > Hi Jaap, > > Ok.. so your tip worked great,.. I just had to recompile libffm as a > shared library... however, I noticed that libffm gets loaded ALL the > time, even if a program doesn't need libm/libffm... is this a good > thing? or is the penalty of loading an extra lib all the time > insignificant? It isn't a BIG library, so I don't think that would be a problem but have no actual fact to prove this. I now added the LD_PRELOAD var to my /etc/profile and /etc/csh.cshrc on my system. Now all programs use libffm. Even X seems to be faster (a bit). However, it does mean that if i delete libffm all programs stop working.. I better move it from /usr/local/lib to /lib to reflect it's new status ..... 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