Binary file not executable

Christian Walther cptsalek at gmail.com
Tue Apr 10 17:13:06 UTC 2007


On 10/04/07, h t <th_freebsd at yahoo.com.cn> wrote:
> I'm freebsd beginner
> I Download RealPlayer10GOLD.bin from http://www.real.com/linux/
> then chmod +x RealPlayer10GOLD.bin
> run
> ./RealPlayer10GOLD.bin
> but broken
> the message is
>
> ELF binary type "0" not known.
> ./RealPlayer10GOLD.bin: Exec format error. Binary file not executable.

As it says in the URL where you downloaded the Realplayer from, it's
for Linux. But FreeBSD is not Linux. There is a Linux Emulation Layer
available that allows you to execute Linux binaries. You can do a

# kldload linux

to enable it. But you'll need to install some additional stuff,
because Linux application will need Linux libraries...

>
> How can I do this?
> Not install in port

Realplayer is in Ports:

# cd /usr/ports
# make search name=realplayer
Port:   linux-realplayer-10.0.8.805.20060718
Path:   /usr/ports/multimedia/linux-realplayer
Info:   Linux RealPlayer 10 from RealNetworks
Maint:  multimedia at FreeBSD.org
B-deps:
R-deps: linux-atk-1.9.1 linux-expat-1.95.8 linux-fontconfig-2.2.3_6
linux-glib2-2.6.6 linux-gtk2-2.6.10 linux-jpeg-6b.34 linux-pango-1.8.1
linux-png-1.2.8_2 linux-tiff-3.7.1 linux-xorg-libs-6.8.2_5
linux_base-fc-4_9
WWW:    https://player.helixcommunity.org/

AFAIK Realplayer GOLD is not freely available, you'll have to pay for it.

HTH
Christian


More information about the freebsd-questions mailing list