[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] link parted against glibc dynamically, everything else static
From: |
Matt Wilson |
Subject: |
[PATCH] link parted against glibc dynamically, everything else static |
Date: |
Fri, 17 Aug 2001 15:18:46 -0400 |
User-agent: |
Mutt/1.2.5i |
The attached patch adds a configure flag that results in a parted
binary that is dynamically linked against libc and statically against
everything else. parted currently uses NSS functionality
(getlogin()), which uses dlopen. When you dlopen a library that
dlopens another in a totally static program it's a bit tricky (insert
muck about the symbol tables and such). nss_ldap does this, so if
you're running nss_ldap you'll segfault.
Also, the locale data formats change every once and a while, so to
prevent app breakage it's besst to link dynamically to libc, to make
you immune to this.
Cheers,
Matt
parted-1.4.16-partstatic.patch
Description: Text document
- [PATCH] link parted against glibc dynamically, everything else static,
Matt Wilson <=