[Bug 108821] dlopen example with libm.so is incorrect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=108821

--- Comment #2 from Florian Weimer <fweimer@xxxxxxxxxx> ---
(In reply to Michael Kerrisk from comment #1)
> Hi Florian,
> 
> I'm reluctant code a glibc dependency into what I would like to be a fairly
> vanilla dlopen example.

Fair point.  Although the example might confuse users because even where it
works, it typically needs development packages at run time (because the .so
link are only installed by them).

> What if I used a function from libc itself (e.g.,
> strlen()). Does the same issue exist?

libc.so is a linker script, too.  libm.so.6 and libc.so.6 are not, but they are
glibc-specific to (some moderately current Solaris versions use libm.so.2 and
libc.so.1, for example).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux