[Rpm-maint] [rpm-software-management/rpm] [RFC] Automatically generate deps for dlopen() deps? (Issue #3032)
Michael Catanzaro
notifications at github.com
Wed Apr 17 13:30:05 UTC 2024
It seems this header is intended to indicate the list of libraries that _might possibly_ be dlopened, which would best correspond to an RPM Suggests dependency. Suggests has limited value because dnf doesn't do anything with it by default. We might need a way for the ELF header to distinguish between which type of dep should be generated: Requires (always needed), Recommends (optional but dnf should install it automatically), or Suggests (optional and dnf should not install it automatically, so not very useful).
Alternatively, we could establish some rules on what types of deps are appropriate to encode in the ELF header. Recommends is probably _generally_ the right choice for _most_ dlopen deps, so we could say RPM will always generate Recommends and you shouldn't add the library to the ELF header at all if Suggests would be more appropriate. But I think that's not how you currently intend to use this functionality, right? You expect it to be a list of what might _possibly_ be dlopened? That would be Suggests, and that is just not very useful IMO.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3032#issuecomment-2061266620
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3032/2061266620 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240417/e8495e15/attachment.html>
More information about the Rpm-maint
mailing list