Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKfGGh2r61PckojJq1GAzOBmwyGcsTNWRsX_4yek-xUECQpp+A@mail.gmail.com>
Date: Tue, 2 Sep 2014 02:49:21 +0200
From: "piranna@...il.com" <piranna@...il.com>
To: musl@...ts.openwall.com
Subject: Re: static build and dlopen

Yes I know, I put it as example of the glibc case before I started
using musl to try to solve it since glibc static link didn't worked
for me, I know that musl one is /lib/ld-musl-i386.so.1.

2014-09-02 2:38 GMT+02:00 Rich Felker <dalias@...c.org>:
> On Tue, Sep 02, 2014 at 01:38:55AM +0200, piranna@...il.com wrote:
>> Sorry for the delay, I have been busy these days.
>>
>> First of all, you were right: It possible to use dynamically linked
>> executables for PID 1, seems I was missing one of the libraries
>> (probably /lib/ld-linux.so.2... :-/ ).
>
> A heads-up: This should not exist if you're using musl. If it seems to
> be needed, you incorrectly linked against glibc, not musl, or possibly
> even a mix of the two, and stuff is likely to break very badly. The
> musl dynamic linker is named /lib/ld-musl-$(ARCH).so.1 where $(ARCH)
> would be i386 or x86_64 for 32- or 64-bit x86 systems, and something
> like mips, mipsel, arm, armhf, etc. for other common systems.
>
> Rich



-- 
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.