Tracking down Circular Dependencies in Static Libraries
Posted in linking, programming, ruby on June 26th, 2009 No Comments »
The GNU linker has some trouble when you present it with multiple library archives that depend upon each other. Libraries with symbols resolved in other libraries must be presented earlier on the command line. You can work around this with a command line argument:
“–start-group”, “–end-group”, aternatively “-(” “-)”
See the man page for LD for more [...]