[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xserver-xorg-video-intel and libpthread-stubs0

Hi all,

I'm having some issues with the Intel video driver in the
xserver-xorg-video-intel package on Debian sid kfreebsd-amd64.  Xorg
reports the following when attempting to load the driver:

(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
dlopen: libpthread-stubs.so.0: cannot open shared object file: No such
file or directory
(EE) Failed to load /usr/lib/xorg/modules/drivers//intel_drv.so
(II) UnloadModule: "intel"
(EE) Failed to load module "intel" (loader failed, 7)

It looks like intel_drv.so is indeed linked against libpthread-stubs.so.0
and ldd confirms that it's missing:

        libm.so.1 => /lib/libm.so.1 (0x00000008204d7000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0x000000082075a000)
        libdrm_intel.so.1 => /usr/lib/libdrm_intel.so.1 (0x0000000820965000)
        libpciaccess.so.0 => /usr/lib/libpciaccess.so.0 (0x0000000820b6e000)
        libc.so.0.1 => /lib/libc.so.0.1 (0x0000000820d73000)
        librt.so.1 => /lib/librt.so.1 (0x00000008210b1000)
        libpthread-stubs.so.0 => not found
        libz.so.1 => /usr/lib/libz.so.1 (0x00000008212c7000)
        /lib64/ld-kfreebsd-x86-64.so.1 (0x0000000020000000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00000008214df000)

I'm not familiar with the intricacies of libpthread-stubs, but my
understanding is that on some platforms it is not required and therefore
not compiled.  Since the kfreebsd-amd64 package for libpthread-stubs0
doesn't contain a library, I'm guessing that's the case here.

I figured I'd try compiling a copy of the driver myself, but to my
surprise my copy of the driver is linked against the missing
library, as well.  I didn't even think that was possible, shows how much
I know :-P.

Does anybody have any suggestions for what to try next in my driver quest?
Is my assumption about kfreebsd-amd64 being one of the platforms that does
not require libpthread-stubs correct?  Any advice would be appreciated!


Reply to: