I’m working on a 20 year old project with some … interesting problems, among them: there’s some shared objects with circular dependencies.
I’m attempting to map out the relationships between all the libraries, but it would be rather helpful if there’s an existing tool capable of searching a list of libraries to see what can satisfy the missing dependencies.
For reference, they got around the problem by doing something like the following:
# True list of dependencies:
A: B
B: A
C: A
# Dependencies used in practice:
A:
B: A
C: A B
I haven’t tested the following code, since I’ve just attempted to re-write this from memory, but the one I wrote to solve this earlier (it looks roughly like this one) works fine: