My problem was solved by adding -Wl,-Bsymbolic to the list of compiler flags. I found this from an old post on this mailing list. It's still not clear why this flag is needed though.
-- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users