Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2005 21:31:15 +0200
From:      Gregory Nou <gregorynou@altern.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@freebsd.org
Subject:   Re: Suspected problem with /libexec/ld-elf.so.1
Message-ID:  <435D3683.2060201@altern.org>
In-Reply-To: <20051023191426.GA70859@xor.obsecurity.org>
References:  <435BB1B8.9050603@altern.org> <20051023191426.GA70859@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?435D3683.2060201>