Revert "Report dlsym, dlvsym lookup errors using dlerror [BZ #19509]"
This reverts commits 80f87443
and a824d609.
See bug 20069. We can revisit this change once there has been a GCC
release with a fix for Address Sanitizer.
(cherry picked from commit 24e2b1ce)