From: Justin Cormack <justin@specialbusservice.com>
To: musl@lists.openwall.com
Subject: Re: MUSL_LIBRARY_PATH ?
Date: Tue, 1 Apr 2014 17:21:21 +0100 [thread overview]
Message-ID: <CAK4o1WyYMDi9_ogviH=V-oKtEwZ0pzBGVt5Juvw8gCAFe7O5QA@mail.gmail.com> (raw)
In-Reply-To: <20140401161908.GJ13904@example.net>
[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]
On Apr 1, 2014 5:19 PM, <u-igbb@aetey.se> wrote:
>
> Hi John,
>
> On Tue, Apr 01, 2014 at 10:11:57AM -0400, John Mudd wrote:
> > But I run into trouble when I start setting LD_LIBRARY_PATH so that
Python
> > can locate the Readline and other libs. The musl built Python works but
> > these libs start causing native program to fail. e.g. "vim: error while
> > loading shared libraries: /usr/lib/i386-linux-gnu/libc.so: invalid ELF
> > header".
>
> You seem to encounter the very problem which the newly discussed
> --library-path solves. You may need to run your musl-linked binaries
> via wrappers, starting them like
> /..../libc.so --library-path /...yourseparatelibplace /the...binary
[args]
>
> Let you look at the recent posts mentioning LD_LIBRARY_PATH.
>
> (Note that hacks like "MUSL_LIBRARY_PATH" do not allow using
> in the same process tree different versions/instances of libraries,
> iow being about as much broken as LD_LIBRARY_PATH)
>
Or use a Musl distro like Sabotage, perhaps in a chroot. That helps a lot
with dynamic libraries.
Justin
[-- Attachment #2: Type: text/html, Size: 1368 bytes --]
next prev parent reply other threads:[~2014-04-01 16:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-01 14:11 John Mudd
2014-04-01 16:19 ` u-igbb
2014-04-01 16:21 ` Justin Cormack [this message]
2014-04-01 16:27 ` writeonce
2014-04-01 16:40 ` Rich Felker
2014-04-06 14:38 ` John Mudd
2014-04-06 16:18 ` Rich Felker
2014-04-06 17:17 ` Laurent Bercot
2014-04-06 17:22 ` Rich Felker
2014-04-06 20:27 ` Laurent Bercot
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='CAK4o1WyYMDi9_ogviH=V-oKtEwZ0pzBGVt5Juvw8gCAFe7O5QA@mail.gmail.com' \
--to=justin@specialbusservice.com \
--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).