我是在Debian伸展和需要google-完善工具来分析我的一些程序。我的机器是64位;我为64位和32位构建程序(使用gcc -m32)。我想能同时分析两种情况。我已经安装了libgoogle-perftools-dev。当我现在尝试添加x86变量时,apt希望删除x64变量(参见下面)。这两种变体可以互相安装吗?
$ sudo apt install libgoogle-perftools-dev:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libboost-chrono1.62.0 libboost-program-options1.62.0 libboost-regex1.62.0 libboost-thread1.62.0 libstemmer0d
libunwind-dev libunwind8 libunwind8-dev libyaml-cpp0.5v5 mongo-tools
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libgoogle-perftools4:i386 libstdc++6:i386 libtcmalloc-minimal4:i386
The following packages will be REMOVED:
google-perftools libgoogle-perftools-dev libgoogle-perftools4 libtcmalloc-minimal4 mongodb mongodb-clients
mongodb-server
The following NEW packages will be installed:
libgoogle-perftools-dev:i386 libgoogle-perftools4:i386 libstdc++6:i386 libtcmalloc-minimal4:i386
0 upgraded, 4 newly installed, 7 to remove and 0 not upgraded.
Need to get 1,247 kB of archives.
After this operation, 115 MB disk space will be freed.
Do you want to continue? [Y/n] 发布于 2018-03-23 19:15:08
不同的google-perftools包在他们的控制档案中没有必要的Multi-Arch:声明,所以不可能并行安装i386和amd64包(没有强制--安装它们,这将导致apt抱怨很多,并阻止安装或升级任何其他软件包)。
您可能需要提交一个bug,请求启用此功能。为此,运行reportbug libgoogle-perftools-dev并按照提示操作。
有关在64位系统上运行32位程序的其他方法,请参见如何在64位Debian/Ubuntu上运行32位程序? (如吉尔斯所建议的)。
https://unix.stackexchange.com/questions/433101
复制相似问题