From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 21 18:07:32 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B11E916A420 for ; Tue, 21 Mar 2006 18:07:32 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail21.syd.optusnet.com.au (mail21.syd.optusnet.com.au [211.29.133.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D9F643D49 for ; Tue, 21 Mar 2006 18:07:31 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail21.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k2LI7UHG019329 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 22 Mar 2006 05:07:30 +1100 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.4/8.13.4) with ESMTP id k2LI7TRf019691 for ; Wed, 22 Mar 2006 05:07:29 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.4/8.13.4/Submit) id k2LI7T0U019690 for freebsd-hackers@freebsd.org; Wed, 22 Mar 2006 05:07:29 +1100 (EST) (envelope-from peter) Date: Wed, 22 Mar 2006 05:07:29 +1100 From: Peter Jeremy To: freebsd-hackers@freebsd.org Message-ID: <20060321180728.GF691@turion.vk2pj.dyndns.org> References: <441EDD35.3080105@computer.org> <20060320185113.GA8370@britannica.bec.de> <20060321080430.GD691@turion.vk2pj.dyndns.org> <20060321133124.GC1058@britannica.bec.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060321133124.GC1058@britannica.bec.de> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Subject: Re: repeatedly opening the same .so(s) is slow? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 18:07:32 -0000 On Tue, 2006-Mar-21 14:31:24 +0100, joerg@britannica.bec.de wrote: >Set libltdl_cv_sys_dlopen_deplibs=yes in the environment before running >configure and try again. And yes, this is *exactly* the same >idiosyncraty as KDE. This is needed for both guile and libltdl. After replacing libltdl and libguile-ltdl, gnucash startup has dropped from 15 minutes to 10 seconds. Thanks for the pointer. The correct fix would be to patch the configure script so it recognizes FreeBSD. I'll file a PR this evening (if no-one has fixed it by then). -- Peter Jeremy