|
|
发表于 2006-11-5 10:05:58
|
显示全部楼层
Post by yangjio4849
这个是i686版本的,我的系统是x86-64的,
[john@John firefox]$ ./firefox
./firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
[john@John firefox]$ ./firefox-bin
./firefox-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory
这个就是运行结果。
这个问题是因为缺少libstdc++.so.5
解决办法是装上gcc-3.3.4,估计gcc-3.3.x都可以,最好是3.3.4吧,因为我试过,3.4.3已经没有libstdc++.so.5了,只有libstdc++.so.6,我也试过建立软链接libstdc++.so.5到libstdc++.so.6也不行,会提示其它错误
安装之前,查一下你的gcc版本:gcc -v,一般高版本gcc编译低版本都没什么问题
我的是LFS,需要源码安装,于是就根据LFS手册下载gcc-3.3.4的源码包装上就可以用firefox-2.0了。 |
|