reassign 389291 libselinux1-dev thanks On Mon, Sep 25, 2006 at 01:20:16AM -0700, Steve Langasek wrote: > On Mon, Sep 25, 2006 at 01:07:47AM +0200, Nicolas François wrote: > > In libselinux (1.30.28-1), -lpthread was added to the libselinux's > > pkg-config. > > > dpkg is statically linked against the SELinux library, thus against the > > libpthread, which requires some symbols from libc. > > > > Adding -lc (e.g. in m4/libs.m4) before -lpthread fixes this issue, but I'm > > not sure it's the right way. > > i.e. using: > > -lc -Wl,-Bstatic `pkg-config --static --libs libselinux` -Wl,-Bdynamic > > instead of: > > -Wl,-Bstatic `pkg-config --static --libs libselinux` -Wl,-Bdynamic > > Could you check if changing "-lpthread" to "-pthread" works?
Yes, it works. Thanks. It also works with e2fsprogs, which was the original reason for the change in libselinux (#388375). Thus I'm reassigning. Manoj, can you change: Libs.private: -lthread to Libs.private: -pthread in libselinux.pc. Thanks in advance, -- Nekral