libtool-patches
[Top][All Lists]
Advanced

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

Provide a means to activate dynamically the debug traces


From: Akim Demaille
Subject: Provide a means to activate dynamically the debug traces
Date: Fri, 9 Jan 2009 16:37:32 +0100

Hi all,

It is sometimes quite a pain in the neck to understand loading failures, especially when they happen on user side and we don't have access to their environment. The following patch attempts to address this issue by giving a means to get debugging information. It should certainly be refined with a means to select the verbosity level (or maybe some bitfield).

It helped me track something which I don't understand: when I dlopen a module.la which has a dependency.la library, I expected ltdl to automatically find dependency.la which is not installed. Yet it does not seem to use the module.la's deplibs to dlopen them, it delegates this to the native dlopen. As a result, since my library is not installed, dlopen fails (see dlopen-failure.txt attachement, notice the deplibs line).

Of course I can adjust LD_LIBRARY_PATH, but that's not what I expected.

Cheers!

Attachment: dlopen-failure.txt
Description: Text document




Attachment: 0001-Dynamical-debug-traces.txt
Description: Text document




Attachment: libtool.config
Description: Binary data



reply via email to

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