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?

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Reply via email to