Yes, the patch in bin/5890 looks like it'd fix this specific problem.
I'm concerned by the comment in elf.ld_so that the search should
start at the (library-dependence) DAG rooted at the handle passed to
dlsym(). Maybe thats how dlsym() is supposed to work on ELF.
If so, the overly-conservative patch in 5890 might break something
legitimate, which currently works (due to the overly-liberal search).