如何在Ubuntu服务器上安装或升级库i386。如下面所示,对于一个服务器,它只显示i386,对于其他版本,它只显示i686。
uname -a
Linux ubuntu 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 i686 i386 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
uname -a
Linux
这个问题与相关,应该很容易解决。然而,我的搜索没有找到任何有用的东西。
本质上,我们有两个32位操作系统(RedHat和SuSE)在不同的机器上使用相同的硬件。两者都使用相同的JVM,都执行相同的命令行。RedHat运行得很好,但SuSE报告说内存不足。
我们只需要知道这是不是我们正在使用的SuSE版本的限制,或者是其他原因。
‘'cat /proc/version’为我们提供了:
Linux version 2.6.5-7.244-bigsmp (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Mon Dec 12 1
当我尝试用Clang编译器编译C程序时,我得到这样的信息
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib/crt1.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib/crti.o' is incom
我在Ubuntu机器上从这里下载了“预编译的GTK2样例”。
我提取了它,它创建了一个文件夹"simple/v1.0.0“,其中包含可执行文件"webupdater”。
当我在终端S5@S5-桌面上运行这个命令时:~/ble/simple/v1.0.0$ ./webupdater -bash:./webupdater:不能执行二进制文件,它说不能执行二进制文件。
Ubuntu机器的配置如下所示。
S5@S5-桌面:~$ uname -a Linux S5-桌面3.5.0-23-通用#35~精度1-Ubuntu 1月25日17:15:33 UTC 2013 i
我在学校被分配了一份作业,我的讲座说我们需要使用他的预编译C库,其中包含了一个重要的函数定义。
我已经尝试从dir中删除所有当前的*.o文件,目前没有任何文件。
我现时遇到的问题如下:
i386:x86-64 architecture of input file `libnavigation.a(great_circle.o)' is incompatible with i386 output
A是包含great_circle函数的库名。
不名-ma
Linux chris-SATELLITE-PRO-C850 3.8.0-19-generic #29-Ubuntu
我目前已经安装了Centos 6.8。我已经尝试安装谷歌浏览器,但它是一些基于安装方式的错误。
when i have try install "yum" way of terminal. it's showing error like:
[root@ss4u238 ~]# yum install chrome-chrome-stable
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from ca
我总是假设,正如他们在这里所说的,“重要的是要注意,最后一个成员是用所需的字节数填充的,这样结构的总大小应该是任何结构成员最大对齐的倍数”。
因此,对于这样的结构,在32个处理器上它的大小应该是16
typedef struct
{
double s; /* 8 bytes */
char c; /* 7 bytes padding at the end of make the total size 8*2 */
} structa_t;
所以我很惊讶它的尺寸是12而不是16!为什么会这样呢?有人能解释一下吗?
sizeof(double) = 8
sizeof
我正在安装Valgrind,但遇到了一些问题。我的平台信息:
Linux xx-ThinkPad-X61 3.2.0-39-generic-pae #62-Ubuntu SMP Wed Feb 27 22:25:11 UTC 2013 i686 i686 i386 GNU/Linux
我遵循valgrind文件夹中自述文件的安装说明。./configure ->make -> sudo make install。
我不能理解自述文件中的以下提示,我只是忽略了它。
Important! Do not move the valgrind installation into a pla
我有一个名为_to_unix_timestamp()的php函数--代码:
function _to_unix_timestamp($param){
if ($timestamp = strtotime($param)){
return $timestamp;
}
return (int) $param;
}
代码在我的开发服务器(32位)上运行良好。
但是当我在生产服务器(64位)中部署我的应用程序时
这个函数的输出有点不同。
示例
// expected to be "int(1306400175)" but the output