libtool
[Top][All Lists]
Advanced

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

Re: lt_dlerror 'file not found' bug


From: Bob Friesenhahn
Subject: Re: lt_dlerror 'file not found' bug
Date: Sun, 13 Dec 2009 15:51:20 -0600 (CST)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Sun, 13 Dec 2009, Matěj Týč wrote:
What I have thought of is stopping any attempt to open any new module
filename if the previous attempt has failed for another reason that
because the file wasn't there. Do you think this is a good assumption?

The problem is that libltdl supports several different types of loaders and every available type of loader is used. So (as you say) the last loader used is the one which produces the final error. The first loader type which is always used is the preloader, which tries to load a static implementation from a library and a library which uses shared modules will usually fail the preloader. The preloader likely also pretends that the "file is not there" if there is no preloadable module.

The bug you are encountering was reported at least two years ago. It is still awaiting a good idea for how to fix it.

There needs to be some notion of error priority so that the error with the most priority gets saved.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

reply via email to

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