2005-05-31 18:47:12

by Anil kumar

[permalink] [raw]
Subject: suse 9.3pro x86_64 kernel source rpm fixdep script error

Hi,

I downloaded SuSE 9.3pro x86_64 kernel-source rpm
from:
http://mirror.tv2.dk/pub/linux/suse/people/mantel/kotd/9.3-x86_64/SL93_BRANCH/

After extracting the rpm, the scripts under:
/usr/src/linux-2.6.11.4-SL93_BRANCH_20050525084504-obj/x86_64/default/scripts/basic

The script "fixdep" reports error as:
bash: ./fixdep: cannot execute binary file

#ll fixdep
-rwxr-xr-x 2 root root 9120 May 31 09:25 fixdep

Looks like I have right execute permissions. Is it
something I am missing/overlooked? Or the script is
bad?

FYI, I did rpm2cpio to extract it.

Thanks for help in advance.

with regards,
Anil





__________________________________
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


2005-05-31 18:59:59

by Willy Tarreau

[permalink] [raw]
Subject: Re: suse 9.3pro x86_64 kernel source rpm fixdep script error


On Tue, May 31, 2005 at 11:47:04AM -0700, Anil kumar wrote:
> Hi,
>
> I downloaded SuSE 9.3pro x86_64 kernel-source rpm
> from:
> http://mirror.tv2.dk/pub/linux/suse/people/mantel/kotd/9.3-x86_64/SL93_BRANCH/
>
> After extracting the rpm, the scripts under:
> /usr/src/linux-2.6.11.4-SL93_BRANCH_20050525084504-obj/x86_64/default/scripts/basic
>
> The script "fixdep" reports error as:
> bash: ./fixdep: cannot execute binary file
>
> #ll fixdep
> -rwxr-xr-x 2 root root 9120 May 31 09:25 fixdep
>
> Looks like I have right execute permissions. Is it
> something I am missing/overlooked? Or the script is
> bad?

wrong arch or wrong interpreter (first line, after #!)

> FYI, I did rpm2cpio to extract it.
>
> Thanks for help in advance.
>
> with regards,
> Anil

willy