[Bug math/18915] libm.so is now a script and breaks backwards compat

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Fri Sep 4 10:42:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=18915

--- Comment #7 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Simonas from comment #6)
> > What are you trying to do, exactly?  Maybe we can offer you a supported interface for that.
> 
> I’d mostly like to be just able to do something along the lines of
> `dlopen("X")` to load the appropriate libX shared library that exists in the
> system for arbitrary X. When `libm.so` was a (link to a) proper shared
> library you could simply do `dlopen("lib" "X" ".so")` (or some sort of
> runtime string stitching), but now that is not possible anymore for "X" =
> "m". 

You need to specify the full soname.  If you use libm.so, you might well get
something that has a completely different ABI and does not match your
expectations at all.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list