Strange linking problem

Hasso Tepper hasso at estpak.ee
Mon May 26 11:03:50 PDT 2008


Simon 'corecode' Schubert wrote:
> Could you check what libtool is doing to the arguments?  I suspect it
> reorders them and places DynaLoader.a *before* libnetsnmpagent.so. 
> Ld's default is only to include those objects of an archive, which are
> needed up to that point.  If libnetsnmpagent.so is specified later, it
> won't be able to make use of the contained DynaLoader.a.  There is a
> flag to change this behavior, I think.  The alternative is to reorder
> the arguments or to add DynaLoader.a at the end again.

No, DynaLoader.a is after libnetsnmpagent.so.


-- 
Hasso Tepper





More information about the Users mailing list