From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 21 18:43:18 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 2370316A401 for ; Tue, 21 Mar 2006 18:43:18 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from hydra.bec.de (www.ostsee-abc.de [62.206.222.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2AB543D48 for ; Tue, 21 Mar 2006 18:43:17 +0000 (GMT) (envelope-from joerg@britannica.bec.de) Received: from britannica.bec.de (unknown [139.30.252.72]) by hydra.bec.de (Postfix) with ESMTP id 9BDB635707 for ; Tue, 21 Mar 2006 19:43:15 +0100 (CET) Received: by britannica.bec.de (Postfix, from userid 1000) id E692A6D055; Tue, 21 Mar 2006 19:43:05 +0100 (CET) Date: Tue, 21 Mar 2006 19:43:05 +0100 From: joerg@britannica.bec.de To: freebsd-hackers@freebsd.org Message-ID: <20060321184305.GA4678@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <441EDD35.3080105@computer.org> <20060320185113.GA8370@britannica.bec.de> <20060321080430.GD691@turion.vk2pj.dyndns.org> <20060321133124.GC1058@britannica.bec.de> <20060321180728.GF691@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060321180728.GF691@turion.vk2pj.dyndns.org> 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:43:18 -0000 On Wed, Mar 22, 2006 at 05:07:29AM +1100, Peter Jeremy wrote: > 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). If you report it upstream, please ask them to either drop this check or write an actual test case. I don't even know a platform where it is broken, so hurting platforms where no developers is using it just sucks :-) Joerg