mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: symlinks of glibc shared libs to musl libc.so
Date: Sun, 9 Jul 2017 22:02:21 -0400	[thread overview]
Message-ID: <20170710020221.GM1627@brightrain.aerifal.cx> (raw)
In-Reply-To: <20170710013640.GA323@freedom>

On Mon, Jul 10, 2017 at 01:36:40AM +0000, sylvain.bertrand@gmail.com wrote:
> Hi,
> 
> I have some binaries which are dependent on glibc shared libs (except libgcc_s) and the glibc dynamic loader.
> For instance: libdl, libpthreads... 
> 
> Do symlinks on libc.so based on glibc sonames give me a chance to make them work? (in
> theory yes, since the symbols are there).

Are you asking about trying to run glibc-linked binaries with musl
libc.so? For that usage, if it works, there is no need to make
symlinks for other standard posix library names like libdl.so or
libpthread.so or libm.so. They inherently always resolve to libc, and
will not actually be loaded from a file when requested.

Rich


  reply	other threads:[~2017-07-10  2:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-10  1:36 sylvain.bertrand
2017-07-10  2:02 ` Rich Felker [this message]
2017-07-10 10:06   ` sylvain.bertrand
2017-07-11 10:43     ` sylvain.bertrand
2017-07-11 16:20       ` Rich Felker
2017-07-11 17:53   ` sylvain.bertrand
2017-07-12  7:03     ` William Pitcock
2017-07-12 10:57       ` sylvain.bertrand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170710020221.GM1627@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).