Re: Suspected problem with /libexec/ld-elf.so.1

From: Gregory Nou <gregorynou_at_altern.org>
Date: Mon, 24 Oct 2005 21:31:15 +0200
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_at_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
Received on Mon Oct 24 2005 - 17:31:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC