Install both 32-bit and 64-bit versions of libgoogle-perftools-dev

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I am on Debian Stretch and need google-perftools to profile some programs of mine. My machine is 64-bit; I build the programs for both 64 and 32-bit (using gcc -m32). I want to be able to profile both. I already have libgoogle-perftools-dev installed. When I now try to add the x86 variant, apt wants to remove the x64 variant (see below). Is it possible to install the two variants alongside each other?



$ 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]






share|improve this question
















  • 1




    As a workaround, you can bypass the multiarch limitations and use a 32-bit chroot.
    – Gilles
    Mar 23 at 19:20














up vote
1
down vote

favorite












I am on Debian Stretch and need google-perftools to profile some programs of mine. My machine is 64-bit; I build the programs for both 64 and 32-bit (using gcc -m32). I want to be able to profile both. I already have libgoogle-perftools-dev installed. When I now try to add the x86 variant, apt wants to remove the x64 variant (see below). Is it possible to install the two variants alongside each other?



$ 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]






share|improve this question
















  • 1




    As a workaround, you can bypass the multiarch limitations and use a 32-bit chroot.
    – Gilles
    Mar 23 at 19:20












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am on Debian Stretch and need google-perftools to profile some programs of mine. My machine is 64-bit; I build the programs for both 64 and 32-bit (using gcc -m32). I want to be able to profile both. I already have libgoogle-perftools-dev installed. When I now try to add the x86 variant, apt wants to remove the x64 variant (see below). Is it possible to install the two variants alongside each other?



$ 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]






share|improve this question












I am on Debian Stretch and need google-perftools to profile some programs of mine. My machine is 64-bit; I build the programs for both 64 and 32-bit (using gcc -m32). I want to be able to profile both. I already have libgoogle-perftools-dev installed. When I now try to add the x86 variant, apt wants to remove the x64 variant (see below). Is it possible to install the two variants alongside each other?



$ 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]








share|improve this question











share|improve this question




share|improve this question










asked Mar 23 at 16:13









Keelan

62931025




62931025







  • 1




    As a workaround, you can bypass the multiarch limitations and use a 32-bit chroot.
    – Gilles
    Mar 23 at 19:20












  • 1




    As a workaround, you can bypass the multiarch limitations and use a 32-bit chroot.
    – Gilles
    Mar 23 at 19:20







1




1




As a workaround, you can bypass the multiarch limitations and use a 32-bit chroot.
– Gilles
Mar 23 at 19:20




As a workaround, you can bypass the multiarch limitations and use a 32-bit chroot.
– Gilles
Mar 23 at 19:20










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










The various google-perftools packages don’t have the necessary Multi-Arch: declarations in their control file, so no, it isn’t possible to install the i386 and amd64 packages in parallel (short of force-installing them, which will cause apt to complain a lot and prevent installing or upgrading any other package).



You might want to file a bug asking for this to be enabled. To do so, run reportbug libgoogle-perftools-dev and follow the prompts.



See How do I run 32-bit programs on a 64-bit Debian/Ubuntu? for other ways to run 32-bit programs on a 64-bit system (as suggested by Gilles).






share|improve this answer






















  • The maintainers have resolved the bug I reported. Thanks again for your help.
    – Keelan
    May 6 at 22:18











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f433101%2finstall-both-32-bit-and-64-bit-versions-of-libgoogle-perftools-dev%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote



accepted










The various google-perftools packages don’t have the necessary Multi-Arch: declarations in their control file, so no, it isn’t possible to install the i386 and amd64 packages in parallel (short of force-installing them, which will cause apt to complain a lot and prevent installing or upgrading any other package).



You might want to file a bug asking for this to be enabled. To do so, run reportbug libgoogle-perftools-dev and follow the prompts.



See How do I run 32-bit programs on a 64-bit Debian/Ubuntu? for other ways to run 32-bit programs on a 64-bit system (as suggested by Gilles).






share|improve this answer






















  • The maintainers have resolved the bug I reported. Thanks again for your help.
    – Keelan
    May 6 at 22:18















up vote
2
down vote



accepted










The various google-perftools packages don’t have the necessary Multi-Arch: declarations in their control file, so no, it isn’t possible to install the i386 and amd64 packages in parallel (short of force-installing them, which will cause apt to complain a lot and prevent installing or upgrading any other package).



You might want to file a bug asking for this to be enabled. To do so, run reportbug libgoogle-perftools-dev and follow the prompts.



See How do I run 32-bit programs on a 64-bit Debian/Ubuntu? for other ways to run 32-bit programs on a 64-bit system (as suggested by Gilles).






share|improve this answer






















  • The maintainers have resolved the bug I reported. Thanks again for your help.
    – Keelan
    May 6 at 22:18













up vote
2
down vote



accepted







up vote
2
down vote



accepted






The various google-perftools packages don’t have the necessary Multi-Arch: declarations in their control file, so no, it isn’t possible to install the i386 and amd64 packages in parallel (short of force-installing them, which will cause apt to complain a lot and prevent installing or upgrading any other package).



You might want to file a bug asking for this to be enabled. To do so, run reportbug libgoogle-perftools-dev and follow the prompts.



See How do I run 32-bit programs on a 64-bit Debian/Ubuntu? for other ways to run 32-bit programs on a 64-bit system (as suggested by Gilles).






share|improve this answer














The various google-perftools packages don’t have the necessary Multi-Arch: declarations in their control file, so no, it isn’t possible to install the i386 and amd64 packages in parallel (short of force-installing them, which will cause apt to complain a lot and prevent installing or upgrading any other package).



You might want to file a bug asking for this to be enabled. To do so, run reportbug libgoogle-perftools-dev and follow the prompts.



See How do I run 32-bit programs on a 64-bit Debian/Ubuntu? for other ways to run 32-bit programs on a 64-bit system (as suggested by Gilles).







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 23 at 21:40

























answered Mar 23 at 19:15









Stephen Kitt

141k22307367




141k22307367











  • The maintainers have resolved the bug I reported. Thanks again for your help.
    – Keelan
    May 6 at 22:18

















  • The maintainers have resolved the bug I reported. Thanks again for your help.
    – Keelan
    May 6 at 22:18
















The maintainers have resolved the bug I reported. Thanks again for your help.
– Keelan
May 6 at 22:18





The maintainers have resolved the bug I reported. Thanks again for your help.
– Keelan
May 6 at 22:18













 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f433101%2finstall-both-32-bit-and-64-bit-versions-of-libgoogle-perftools-dev%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay