Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

execute statically-linked linux files



Hello,
I have linux binaires I'd like to run on NetBSD (this is a commercial
product). Some files are dynamically-linked files and run properly.
They show up as:
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=38afca809a07f7e934012f7dac9094e3bcd2585d, stripped

But there are also some statically-linked files, which shows up as
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
(note the missing "for GNU/Linux" here) and NetBSD don't want to run them
(Exec format error. Binary file not executable.).

Is there a way to convert the ELF header so that NetBSD can run them ?

thanks

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index