Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 28 Apr 2014 09:32:06 +0300
From: Timo Teras <timo.teras@....fi>
To: musl@...ts.openwall.com
Cc: ibid.ag@...il.com
Subject: Re: [PATCH 2/3] Add soname to dynamic section

On Sun, 27 Apr 2014 23:22:40 -0700
Isaac Dunham <ibid.ag@...il.com> wrote:

> On Sun, Apr 27, 2014 at 11:00:16PM -0700, Khem Raj wrote:
> > On Sun, Apr 27, 2014 at 10:54 PM, Isaac Dunham <ibid.ag@...il.com>
> > wrote:
> > >
> > > The SONAME used to be in the makefile, but was removed due to
> > > people encountering problems when they ran ldconfig.
> > 
> > well, it seems coexisting is another usecase. My systems are
> > bootstrapped with musl so I do not worry about ldconfig and glibc
> > being around.
> > so may be making soname configurable
> > (--enable-soname/--disable-soname) is middle ground
> 
> It should be possible to add -Wl,-soname=libc.so to LDFLAGS.
> For example,
> ./configure --prefix=/usr --libdir=/lib LDFLAGS="-Wl,-soname=libc.so"

Yes, that works. This is what we do in Alpine Linux:
http://git.alpinelinux.org/cgit/aports/tree/main/musl/APKBUILD#n75

- Timo

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.