From owner-freebsd-current@FreeBSD.ORG Mon Oct 24 19:31:18 2005 Return-Path: X-Original-To: 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 2832B16A41F for ; Mon, 24 Oct 2005 19:31:18 +0000 (GMT) (envelope-from gregorynou@altern.org) Received: from esemetz.metz.supelec.fr (esemetz.metz.supelec.fr [193.48.224.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6300C43D48 for ; Mon, 24 Oct 2005 19:31:16 +0000 (GMT) (envelope-from gregorynou@altern.org) Received: from smtp.metz.supelec.fr (smtp.metz.supelec.fr [193.48.224.205]) by esemetz.metz.supelec.fr (8.11.6/8.9.3) with ESMTP id j9OJVFI27098 for ; Mon, 24 Oct 2005 21:31:15 +0200 Received: from [193.48.225.2] (nou.rez-metz.supelec.fr [193.48.225.2]) by smtp.metz.supelec.fr (8.11.6/8.11.6) with ESMTP id j9OJP2K19004; Mon, 24 Oct 2005 21:25:02 +0200 Message-ID: <435D3683.2060201@altern.org> Date: Mon, 24 Oct 2005 21:31:15 +0200 From: Gregory Nou User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <435BB1B8.9050603@altern.org> <20051023191426.GA70859@xor.obsecurity.org> In-Reply-To: <20051023191426.GA70859@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Suspected problem with /libexec/ld-elf.so.1 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, 24 Oct 2005 19:31:18 -0000 Kris Kennaway wrote: > On Sun, Oct 23, 2005 at 05:52:24PM +0200, Gregory Nou wrote: > >>Hi, >> >>I'm experiencing lots of weird problems since my last cvsup (yesterday) >>Everything I have installed using packages or sources after the cvsup >>doesn't work, exiting with weird error messages like for example: >>% pdflatex rapport.tex >>zsh: exec format error: pdflatex >>or >>% texi2pdf rapport.tex >>pdflatex: 2: Syntax error: ")" unexpected >>/usr/local/bin/texi2dvi: pdflatex exited with bad status, quitting. >> >>and also : >>/libexec/ld-elf.so.1: some_lib_here: unsupported file layout >> >>% xpdf >>/libexec/ld-elf.so.1: /usr/local/lib/libt1.so.5: unsupported file layout >>% kile >>/libexec/ld-elf.so.1: /usr/X11R6/lib/libqt-mt.so.3: unsupported file layout > > > What does file(1) say about those files? > > Kris Thanks, you're a genius ! % file /usr/local/lib/libt1.so.5 /usr/local/lib/libt1.so.5: ELF 64-bit LSB shared object, AMD x86-64, version 1 (FreeBSD), not stripped But I only have a poor AMD athlon x86... So, now, the question is : how should I correct this ? my uname is : FreeBSD nou.rez-metz.supelec.fr 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Mon Oct 24 12:03:01 CEST 2005 root@nou.rez-metz.supelec.fr:/usr/obj/usr/src/sys/MYKERNEL i386 I suppose the thing is aware it is using a i386 and not a x86-64... (And in most of the cases, file answer "ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped") Thanks again, now I know why it doesn't work :) -- Gregory