HI, Support I have a static archive libfoo.a that has a weak sym, call it quux. And the link line I have is gcc -o foo -L. -lfoo -Wl,--as-needed -lbar -lbaz Where libbar.so and libbaz.so also have the weak symbol quux. Then the executable foo has a dynamic dependency on both libbar.so _and_ libbaz.so. Is this expected behavior? Is there a way of forcing exactly one of libfoo.so and libbaz.so to be used? Thanks, Tom