[OpenSER-Devel] [ openser-Bugs-1855859 ] Modules are linked with more libs than necessary

SourceForge.net noreply at sourceforge.net
Fri Dec 21 17:26:47 UTC 2007


Bugs item #1855859, was opened at 2007-12-21 19:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1855859&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dan (dan_pascu)
Assigned to: Nobody/Anonymous (nobody)
Summary: Modules are linked with more libs than necessary

Initial Comment:
The link command for modules receives a generic LIBS variable that contains more libraries that needed for some of the modules. As a result they are linked against libraries from which they do not use any symbol, resulting in unwanted dependencies. Any distribution  that packages some modules separately may have undesired dependencies for those modules as a result.

I think that the LIBS varaible for modules should only contain the bare minimum (which is most likely only libc) and let the modules add the extra libs they need on a per module basis.

In the attached file you can see the extra unused libraries that a debian build has found for some of the modules packages separately.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1855859&group_id=139143



More information about the Devel mailing list