ftp.ubuntu.org.cn上的uplink应如何安装?

游戏讨论
回复
头像
donny
帖子: 335
注册时间: 2005-10-03 15:25

ftp.ubuntu.org.cn上的uplink应如何安装?

#1

帖子 donny » 2006-06-28 21:26

在运行uplink时,终端提示
donny@ubuntu:~/uplink$ ./uplink
./uplink: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
然后我运行
SDL_mixer-1.2.4.patch
,终端提示
/home/donny/uplink/SDL_mixer-1.2.4.patch: line 1: This: command not found
/home/donny/uplink/SDL_mixer-1.2.4.patch: line 2: To: command not found
/home/donny/uplink/SDL_mixer-1.2.4.patch: line 3: cd: SDL_mixer-1.2.4: 没有那个 文件或目录
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|This patch adds a few more module formats from MikMod to SDL Mixer.
|To apply it, download SDL_mixer source,
|cd SDL_mixer-1.2.4
|patch -p1 < SDL_mixer-1.2.4.patch
|
|diff -X diffexcludes.txt -urN SDL_mixer-1.2.4.orig/mikmod/Makefile.am SDL_mixer-1.2.4/mikmod/Makefile.am
|--- SDL_mixer-1.2.4.orig/mikmod/Makefile.am Tue Feb 1 21:16:29 2000
|+++ SDL_mixer-1.2.4/mikmod/Makefile.am Fri Jul 12 10:28:04 2002
--------------------------
File to patch:
我不知道到底发生了什么,也不知道应该对哪个文件打补丁,请问应如何安装?谢谢
血色眼泪
帖子: 335
注册时间: 2005-12-27 21:15
联系:

#2

帖子 血色眼泪 » 2006-06-28 22:16

为什么要运行SDL_mixer-1.2.4.patch呢?

补丁文件?

SDL_mixer-1.2.4你装了没有?
头像
donny
帖子: 335
注册时间: 2005-10-03 15:25

#3

帖子 donny » 2006-06-28 22:28

血色眼泪 写了:为什么要运行SDL_mixer-1.2.4.patch呢?

补丁文件?

SDL_mixer-1.2.4你装了没有?
我系统好像没装SDL_mixer-1.2.4
头像
donny
帖子: 335
注册时间: 2005-10-03 15:25

#4

帖子 donny » 2006-06-28 22:45

donny@ubuntu:~/uplink$ ./uplink
./uplink: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
这个问题如何解决?
血色眼泪
帖子: 335
注册时间: 2005-12-27 21:15
联系:

#5

帖子 血色眼泪 » 2006-06-28 23:09

donny 写了:
donny@ubuntu:~/uplink$ ./uplink
./uplink: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
这个问题如何解决?
缺少库文件

安装相应的开发包补全
头像
donny
帖子: 335
注册时间: 2005-10-03 15:25

#6

帖子 donny » 2006-06-29 9:33

那请问应安装什么库?
回复