DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th September 2010
xmorg xmorg is offline
Real Name: Tim Cooper
Fdisk Soldier
 
Join Date: Sep 2010
Location: San Diego
Posts: 56
Default Linux Binary: cannot execute binary file

Ok so Im trying to get a game to work that I bought from LGP hehe. The demo worked just fine, when the game came in, it installs great, the installer worked without any tweaking what soever which is wonderful hehe. But when I try to run the game itself, I get the following below. ALso as an aside, I tried before and after patching and still get the same result.

xmorg% ls -als shadowgrounds-bin
3984 -rwxr-xr-x 1 tcooper tcooper 4053044 Sep 24 09:43 shadowgrounds-bin


xmorg% ./shadowgrounds-bin
bash: ./shadowgrounds-bin: cannot execute binary file

So here is some other info about the file, and my system. I do have a lot of linux games working from MythII to most ID games, etc.
===========================
uname -a
FreeBSD moria 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386


xmorg% ldd shadowgrounds-bin
shadowgrounds-bin:
ldd: shadowgrounds-bin: Exec format error
shadowgrounds-bin: exit status 1

xmorg% file shadowgrounds-bin
shadowgrounds-bin: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), for GNU/Linux 2.6.18, dynamically linked (uses shared libs), stripped
tcooper%

xmorg% kldstat | grep linux
2 3 0xc0dfb000 289a4 linux.ko

xmorg% sysctl -a | grep linux
hw.snd.compat_linux_mmap: 0
compat.linux.oss_version: 198144
compat.linux.osrelease: 2.6.18
compat.linux.osname: Linux
Reply With Quote
  #2   (View Single Post)  
Old 24th September 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin Tournoij
Tcpdump Spy
 
Join Date: Apr 2008
Location: Ireland
Posts: 2,245
Default

Try:
# brandelf -t Linux shadowgrounds-bin

And/Or

# /compat/linux/usr/bin/ldd shadowgrounds-bin

If that doesn't work, it could be the case you've delved too deep and hit a Balrog
Reply With Quote
  #3   (View Single Post)  
Old 25th September 2010
xmorg xmorg is offline
Real Name: Tim Cooper
Fdisk Soldier
 
Join Date: Sep 2010
Location: San Diego
Posts: 56
Default

hmmm, how to kill a balrog?
Reply With Quote
  #4   (View Single Post)  
Old 25th September 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin Tournoij
Tcpdump Spy
 
Join Date: Apr 2008
Location: Ireland
Posts: 2,245
Default

# gandalf | kill balrog && run fools
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
faac-1.28 binary package missing IdOp NetBSD Package System (pkgsrc) 0 20th August 2010 12:04 AM
FreeBSD amd64 nVidia Binary Driver vermaden FreeBSD General 5 2nd January 2010 08:25 PM
Need help-binary package install bsdadmin NetBSD Installation and Upgrading 11 29th October 2009 05:08 AM
minicom binary csimmons0 FreeBSD Ports and Packages 2 29th January 2009 09:18 PM
Java JDK & JRE binary packages available for FBSD 6.3 & 7.0 J65nko FreeBSD Ports and Packages 3 20th August 2008 08:09 PM


All times are GMT. The time now is 07:59 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick