From owner-freebsd-current@FreeBSD.ORG Mon Jun 27 01:05:44 2005 Return-Path: X-Original-To: FreeBSD-current@FreeBSD.org Delivered-To: FreeBSD-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34D9116A41C for ; Mon, 27 Jun 2005 01:05:44 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECC6743D1D for ; Mon, 27 Jun 2005 01:05:43 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from [66.92.151.194] (june.chuckr.org [66.92.151.194]) by chuckr.org (Postfix) with ESMTP id 68A17114EF for ; Sun, 26 Jun 2005 20:58:08 -0400 (EDT) Message-ID: <42BF608B.90408@chuckr.org> Date: Mon, 27 Jun 2005 02:12:27 +0000 From: Chuck Robey User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050524) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD-current@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: problem with ldconfig and xorg libraries X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2005 01:05:44 -0000 I have to recover from a particularly dumb thing that I did. It's an entertaining problem, so I'll see if I can lay it all out to you. I run FreeBSD on two machine, "April" and July". They are both 2 processor smp machines; April is i386, and the July machine is amd64. I often use x11 cross mounts, so I have to keep in mind what's my current machine, else I will do what I just did. In pkg_add, there's a variable, PACKAGESITE, that lets you vector the place you get your packages from, and I use this to set the ARCH. I screwed up , mis-set it to i386 just before beginning to bring in a lot of KDE upgrade ports. Oops. OK, I used "file" to locate i386 libraries, and I rebuilt (from sources, the ports directly) very nearly everything. FreeBSD is *SO* darned stable, I have really only hit just thing single really killer problem ... The problem?? Can't start X11. When I try a startx, I get about a done lines, but they're really just all copies of one of these two lines: /libexec/ld-elf.so.1: /usr/X11R6/lib/libX11.so.6: unsupported file layout /libexec/ld-elf.so.1: /usr/X11R6/lib/libXau.so.0: unsupported file layout july:chuckr:/usr/X11R6/lib:#27>file libX11.so.6 libXau.so.0 libX11.so.6: ELF 64-bit LSB shared object, AMD x86-64, version 1 (FreeBSD), not stripped libXau.so.0: ELF 64-bit LSB shared object, AMD x86-64, version 1 (FreeBSD), not stripped These happen to be precisely what all the other X11 libraries are reporting, too. OK, these are all of the more obvious hints. If you can think up any other ones, I'd very much appreciate a note to me. Being as candid as I can be, I'm actually enjoying doing this, running down these problems.