libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More info on libldtl failure


From: Gary V. Vaughan
Subject: Re: More info on libldtl failure
Date: Tue, 30 Jan 2001 23:19:27 +0000
User-agent: Mutt/1.3.12i

Hi Bob,

Hmmm.  I think I can see why this might be... the entire deplib chain
is followed and loaded for each lt_dlopen()ed module.  Perhaps I need
to cache previous successes and failures to avoid repetition?  Or
maybe I just need to provide an option to ignore deplibs (and emulate
the old behaviour that served us so well before)?

What do you think?  Alexandre, do you have any thoughts on this?

Anyway, I will check in this fix when CVS recovers from the move to
savannah.

Cheers,
        Gary.

On Tue, Jan 30, 2001 at 11:31:11AM -0600, Bob Friesenhahn wrote:
> The patch does work, however libtool seems to be much slower at
> loading modules now.  It now takes ImageMagick about 20 seconds to
> load all of its modules where before it took about a second.
> 
> Bob
> 
> On Mon, 29 Jan 2001, Gary V. Vaughan wrote:
> 
> > On Thu, Jan 25, 2001 at 08:10:09PM -0600, Bob Friesenhahn wrote:
> > > Gary,
> > 
> > Hi Bob!
> > 
> > > I have learned more regarding the failure of the CVS libltdl.  This
> > > error message is displayed by our application:
> > > 
> > > convert: failed to load module
> > > "/usr/local/lib/ImageMagick/modules/coders/miff.la"
> > > (dependency library not found) [No such file or directory].
> > > convert: failed to load module
> > > "/usr/local/lib/ImageMagick/modules/coders/mono.la"
> > > (dependency library not found) [No such file or directory].
> > > 
> > > It turns out that this failure is caused because static libraries are
> > > listed in the .la file, and libltdl is attempting to load them.  The
> > > ltdl of perhaps a month ago did not have this problem.
> > 
> > Thanks for tracking this down for me.  I have not been able to
> > reproduce it here, but from your description, I think the attached
> > patch should do the trick.
> > 
> > Let me know how it goes, and I'll check it in.
> > 
> > Cheers,
> >     Gary.
-- 
  ___              _   ___   __              _         mailto: address@hidden
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       address@hidden 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]