64位Linux系统跑32位程序
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
1. 在64位debian上安装32位兼容库
$ sudo apt-get install ia32-libs
$ sudo apt-get install lib32c-dev
无法安装,找不到库,用下面这个方法,打开多架构支持,然后更新:
$ sudo dpkg --add-architecture i386
$ sudo apt-get update
$ sudo apt-get install ia32-libs
$ sudo apt-get install lib32c-dev
如果没有ia32-libs就用
$ sudo dpkg --add-architecture i386
$ sudo apt-get update
$ sudo apt-get install lib32ncurses5 lib32z1
2. 拷贝其他需要用到的32位库到相应的目录里
lib1:
拷贝i386-linux-gnu内所有文件到,64位系统的 /lib下。
lib2:
拷贝内所有文件到,64位系统的 /usr/lib下。
lib3:
拷贝内所有文件到,64位系统的 /usr/local/lib下。
3. 注意:
lib1,2,3目录中的 链接文件,最好在64位机器中新建。
(因为拷贝过程中链接文件会失效,有时拷贝过来的是一个原始文件,不是一个链接;)
(当目标位置存在一下同名的链接文件时,新的链接文件不会覆盖旧的,等等。)




A beautiful web dashboard for Linux
最近提交(Master分支:1 个月前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)