LD_AUDIT shared object using multiple object files

Florian Weimer fweimer@redhat.com
Sun May 1 07:07:21 GMT 2022


* Farid Zakaria via Libc-help:

> I am trying to write a small problem to leverage the rtld audit[1] API
> however I am running into an issue I am not sure I understand.
>
> When I have restricted my program to a single object file (compilation
> unit), everything works _peachy_. I am able to set LD_AUDIT
> accordingly and things work as I expect.
>
> I then try to refactor my code into smaller object files (trying to be
> a good code citizen), but then the solution stopped working.
>
> I am greeted with some "unresolved symbol" messages for the new
> compilation units.
>
> Is there a way around this?

This problem doesn't sound very audit-related.  You'll have to provide
more details for what you are doing.

Thanks,
Florian



More information about the Libc-help mailing list