我根据这个问题中的信息对程序感到不满。现在已经安装了,但是我不知道如何运行它。运行相同版本的Ubuntu的朋友在以相同的方式安装它后就可以启动它。
这是我所做的:
$ ./Psychonauts
./Psychonauts: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
所以我继续:
$ sudo apt-get install libstdc++.so.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libstdc++.so.6
E: Couldn't find any package by regex 'libstdc++.so.6'
应当指出,几天前我才开始使用Linux。
好的,所以我确实设法安装了apt-file和apt-file更新。
但是随后我们遇到了另一个障碍。
usagiyojimbo@Usagi:~$ sudo apt-file find libstdc++.so.6
[sudo] password for usagiyojimbo:
E: The cache is empty. You need to run 'apt-file update' first.
我这样做的时候说:
File is up-to-date.
Ignoring source without Contents File:
a link they won't let me post
要么
File is up-to-date.
Downloading Index a link
No Index available.
Downloading complete file a link
尝试运行Psychonauts时,我仍然遇到相同的错误。
sudo apt-get install libstdc++6