This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]