freebsd下安装realplayer讲解

原以为在freebsd下安装realplayer很麻烦.今天试着安装了一下,还比较顺利.
先是安装linux_base包.然后进入/usr/ports/multimedia/linux-realplayer.
#make之后#make install clean就好了.不过在make install clean过程中有一个错误提示:
===>Checking if x11-toolkits/linux-gtk2 already installed
gtk2-2.4.14-4.fc3.3.i386.rpm
ELF binary type "3" not known.
/compat/linux/sbin/ldconfig:1:Syntax error:"(" unexpected
*** Error code 2

Stop in /usr/ports/x11-toolkits/linux-gtk2.
*** Error code 1

Stop in /usr/ports/multimedia/linux-realplayer.

解决方法也很简单:
#kldload linux
或者在/etc/rc.conf中加入linux_enable="YES"
或者在内核中加入options COMPAT_LINUX,然后编译

#make install clean就可以了.

相关推荐