我已经尝试让 Psychonauts 在我的电脑上运行一个多月了。我之前发过这里,但即使按照这些指示操作后,我仍然卡住了。我已成功安装了 Psychonauts 引用的无法运行的原因所缺少的软件包:
usagiyojimbo@Usagi:~/psychonauts$ sudo apt-get install libstdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
但是,当我尝试运行该程序时,它仍然以完全相同的方式响应。这是 ls:
usagiyojimbo@Usagi:~/psychonauts$ ls
DisplaySettings.ini libSDL-1.2.so.0 psychonauts.png
Documents Psychonauts README-linux.txt
icon.bmp PsychonautsData2.pkg uninstall-psychonauts.sh
libopenal.so.1 Psychonauts Manual Win.pdf WorkResource
我一直在这样做:
usagiyojimbo@Usagi:~/psychonauts$ ./Psychonauts
./Psychonauts: error while loading shared libraries: libstdc++.so.6: cannot open
shared object file: No such file or directory
我究竟做错了什么?
答案1
我认为 Psychonauts 是一款 32 位应用程序。您需要安装:
sudo apt-get install lib32stdc++6
答案2
尝试运行
$ strace./psychonauts 复制代码
并留意 libstdc++ 的 open() 调用。然后从那里开始工作。