No, I think you are bitten by linking with --as-needed as the default., and having the source/object files on the command line before the libraries fixes the issue.
No, I think you are bitten by linking with --as-needed as the default., and having the source/object files on the command line before the libraries fixes the issue.