2010/3/5 Arkadiusz Miskiewicz <[email protected]>: > On Friday 05 of March 2010, Michel Dänzer wrote: >> On Fri, 2010-03-05 at 08:51 +0100, Arkadiusz Miskiewicz wrote: >> > On Friday 05 of March 2010, Peter Hutterer wrote: >> > > The first and likely only RC for 1.7.6 with a bunch of fixes all over >> > > the place. This release finally brings the RECORD extension back, >> > > promised for more-or-less every point release since 1.7.0. There's one >> > > more record-related patch on the list that I want to get into 1.7.6 >> > > but other than that I think we're shaping up quite nicely. >> > > >> > > Note that the minimum requirements have changed to libselinux 2.0.86 >> > > (released before 1.7.0 came out, so that shouldn't be an issue for most >> > > of you). >> > >> > I have kernel without selinux compiled in but xserver with xselinux >> > support enabled. The result is that it starts but then "hangs" with >> > black screen at >> > >> > (II) Initializing built-in extension DAMAGE >> > >> > (and the next line should be something like) >> > >> > (II) AIGLX: enabled GLX_MESA_copy_sub_buffer >> > >> > http://pastebin.ca/1823566 >> >> Is there more information in the X server's stderr output? (Should be in >> the g/kdm log file if you're using that) > > Ah, there is, some incorrect linking: > > /usr/bin/X: symbol lookup error: > /usr/lib64/xorg/modules/extensions/libextmod.so: undefined symbol: > is_selinux_enabled
The reason behind this problem coming up now is the change from AC_CHECK_LIB to PKG_CHECK_MODULES for getting the selinux libs. When we were using AC_CHECK_LIB, -lselinux -laudit were inadvertently being set in $LIBS, which meant they where linked to every binary in the source tree. Now, with PKG_CHECK_MODULES, we're explicitly using $SELINUX_LIBS, and apparently not doing a good enough job of it. Is X at least linked to the right libraries? If not, then I think what we need to do is add them Xext/libXextmodule.la. Something like the attached patch should work, but I'm not sure it's the right thing. -- Dan
0001-Xext-Link-to-external-libraries-when-necessary.patch
Description: application/mbox
_______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
