bug-libtool
[Top][All Lists]
Advanced

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

Re: Misleading error message from lt_dlopen()


From: Bob Friesenhahn
Subject: Re: Misleading error message from lt_dlopen()
Date: Thu, 23 Oct 2008 12:06:33 -0500 (CDT)

On Thu, 23 Oct 2008, Jeff Squyres wrote:

I realize that this is somewhat complex issue because libltdl have a generic loader engine and it's just reporting the "last" error. So I don't know what the right solution is, but from a the perspective of someone who is using libltdl, I would much rather have the "missing symbol" error reported rather than the misleading "file not found" [non-]error.

I encountered this same issue just a week ago and thought that the poor error was OS-specific and didn't realize that it was a libltdl bug. If the missing symbol error had been reported, then I would have been a lot less confused.

FWIW: prior versions of libltdl *did* report the "missing symbol" error properly, so one could actually consider this a regression against prior behavior.

Yes, I remember the former correct behavior.

When reporting errors, it is almost always most correct to report the first error encountered.

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]