mailing list of musl libc
 help / color / mirror / code / Atom feed
* musl vs. Debian policy
@ 2013-03-06 23:29 Isaac Dunham
  2013-03-07 13:04 ` Rich Felker
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Isaac Dunham @ 2013-03-06 23:29 UTC (permalink / raw)
  To: musl

I started writing a short explanation of the musl installation for packagers, and realized that there's one area that's inconvenient:
$syslib/ld-musl-*.so.1 is a symlink to libc.so.

Debian policy requires that any public libraries have a version number. 
Specifically, Debian Policy 8.2 
(http://www.debian.org/doc/debian-policy/ch-sharedlibs.html): 
If your package contains files whose names do not change with each change in the library shared object version, you must not put them in the shared library package. Otherwise, several versions of the shared library cannot be installed at the same time without filename clashes, making upgrades and transitions unnecessarily difficult.

The apparent solution to this is to ship only the dynamic linker, since this is all we need (the dependency on libc.so is disregarded when it comes to running dynamically linked programs).  But currently, actually doing this would be somewhat of a hack.

Is there any prospect of installing lib/libc.so straight to ${LDSO_PATHNAME} ? I'm thinking it could be done via something like:

install-ldso: $(DESTDIR)$(LDSO_PATHNAME)

$(DESTDIR)$(LDSO_PATHNAME): lib/libc.so
        install -D -m 755 $< $@

I realize it would also be necessary to adjust the rules for installing libc.so, however. If the change is welcome, I could prepare a patch.

Thanks, 
Isaac Dunham <idunham@lavabit.com>



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2013-03-10  3:39 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-06 23:29 musl vs. Debian policy Isaac Dunham
2013-03-07 13:04 ` Rich Felker
2013-03-07 18:17   ` Christian Neukirchen
2013-03-07 18:45     ` Kurt H Maier
2013-03-07 18:49       ` Daniel Cegiełka
2013-03-08  0:41     ` Rich Felker
2013-03-08 15:13       ` Christian Neukirchen
2013-03-09  1:27         ` Rich Felker
2013-03-09 20:08           ` Christian Neukirchen
2013-03-10  3:29             ` Rich Felker
2013-03-10  3:39               ` Rich Felker
2013-03-08  1:03   ` Isaac Dunham
2013-03-08  1:10     ` Rich Felker
2013-03-08  4:03       ` Isaac Dunham
2013-03-09  1:23         ` Rich Felker
2013-03-07 18:56 ` Justin Cormack
2013-03-08  0:04   ` Isaac Dunham
2013-03-07 22:30 ` Rob Landley
2013-03-08  0:22   ` Isaac Dunham
2013-03-08  1:09     ` Kurt H Maier

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).