From owner-freebsd-questions@FreeBSD.ORG Fri Oct 9 13:36:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F0AA1065672 for ; Fri, 9 Oct 2009 13:36:02 +0000 (UTC) (envelope-from john.w.obrien@lmco.com) Received: from mailgw1a.lmco.com (mailgw1a.lmco.com [192.31.106.7]) by mx1.freebsd.org (Postfix) with ESMTP id DCAF58FC0C for ; Fri, 9 Oct 2009 13:36:01 +0000 (UTC) Received: from emss02g01.ems.lmco.com (relay2.ems.lmco.com [166.29.2.54])by mailgw1a.lmco.com (LM-6) with ESMTP id n99CZheI004509for ; Fri, 9 Oct 2009 06:35:43 -0600 (MDT) Received: from CONVERSION2-DAEMON.lmco.com by lmco.com (PMDF V6.4 #31705) id <0KR800501YZJ8G@lmco.com> for freebsd-questions@freebsd.org; Fri, 09 Oct 2009 12:35:43 +0000 (GMT) Received: from hvxhtpn1.us.lmco.com ([158.186.148.30]) by lmco.com (PMDF V6.4 #31705) with ESMTP id <0KR800KD7YV3FV@lmco.com> for freebsd-questions@freebsd.org; Fri, 09 Oct 2009 12:35:33 +0000 (GMT) Received: from HVXMSP5.us.lmco.com ([158.186.148.28]) by hvxhtpn1.us.lmco.com ([158.186.148.30]) with mapi; Fri, 09 Oct 2009 08:35:30 -0400 Date: Fri, 09 Oct 2009 08:35:29 -0400 From: "Obrien, John W" To: "'freebsd-questions@freebsd.org'" Message-id: <7AA4282413159948AD514B064BE1478D17F7E28D1D@HVXMSP5.us.lmco.com> MIME-version: 1.0 Content-language: en-US Thread-Topic: xorg-server package update on 7.2-STABLE Thread-Index: AcpI222/zvY3loO3Sy2Tw9zWxtMCgg== Accept-Language: en-US acceptlanguage: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: xorg-server package update on 7.2-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 13:36:02 -0000 Good morning, The problem I'm having is that "startx" gives a garbage-filled screen and locks up the console. When I run it through ssh from another computer I can see that it complains: /libexec/ld-elf.so.1: /usr/local/bin/X: Undefined symbol "shmctl" before dying and leaving the main display buggered up. Rebooting the computer is the only way I've found to un-bugger it. Background ----------------- Recently installed fresh i386 7.2-RELEASE, and subsequently had X working with the "intel" driver. I ran "portupgrade -aPP" two days ago using packages-7-stable and immediately thereafter experienced the symptoms described above. I see nothing related in /usr/ports/UPDATING since the release date of 7.2. The closest things that turned up Googling variations of the error message has turned up were http://forums.freebsd.org/showthread.php?t=6661 and http://forums.freebsd.org/showthread.php?t=7464 which strike me as "close but no cigar." This is close to the hairy edge of my competence, but I tried comparing the dynamic symbol tables of the relevant files with the following results # objdump -T /usr/local/bin/Xorg | grep shmctl 000000000 DF *UND* 000000000 FBSD_1.1 shmctl # objdump -T /lib/libc.so.7 [snip] 00045f64 W DF .text 000000000 FBSD_1.0 shmctl [snip] # pkg_info -W /usr/loca/bin/Xorg /usr/local/bin/Xorg was installed by package xorg-server-1.6.1,1 I interpret this to suggest that the updated Xorg was linked to a different version of the C library and is looking for a version of the symbol that doesn't exist, though perhaps I'm misreading http://people.freebsd.org/~deischen/symver/freebsd_versioning.txt My specific questions are: - Am I on the right track with my diagnostic steps or is this the wrong rabbit hole? - Is this more likely a bug (xorg-server from 7-STABLE shouldn't break ABI with 7.2-RELEASE) or operator error (missing or incorrect update step)? - I would prefer to maintain my system using pre-compiled packages only. Is that feasible, and if so does it come with restrictions that I may have already violated? Any pointers would be appreciated and a solution would be greatly appreciated. Please let me know if there are potentially-relevant details I've omitted. Regards, John