puzzling ld behavior, failing to find symbols from .so after adding more .o file

Andrew Bell andrew.bell.ia@gmail.com
Fri Mar 25 22:43:26 GMT 2022


On Fri, Mar 25, 2022 at 4:16 PM Michael Tokarev <mjt@tls.msk.ru> wrote:

> Hi!
>
> I've got a puzzling issue here which I need help with,
> at least some pointers as of where to dig.
>


> ...deleted...
>


> I'm quite lost here. The question is: why after ecountering dbwrap_ctdb.o,
> ld stops finding symbols in shared libraries which it were finding before,
> but still being able to find symbols in static libs?  How to debug this,
> maybe to make a test case?
>

There is certainly the LD_DEBUG environment variable.

--
Andrew Bell
andrew.bell.ia@gmail.com


More information about the Binutils mailing list