Are CentOS 7 binaries the same of Ubuntu or any other GNU distribution?
Clash Royale CLAN TAG#URR8PPP
I need to compile and run binaries on CentOS 7 but I'm having hard time running my wrapper app due to Python versions and other issues. If I compile and test binaries on Ubuntu (or any other distribution) and then move my binaries to an online CentOS 7 would I run into any binaries-platform problem?
PS: Binaries I am running are of Google's cwebp and ImageMagick. My wrapper is a Node function for AWS Lambda.
centos compiling aws binary
add a comment |
I need to compile and run binaries on CentOS 7 but I'm having hard time running my wrapper app due to Python versions and other issues. If I compile and test binaries on Ubuntu (or any other distribution) and then move my binaries to an online CentOS 7 would I run into any binaries-platform problem?
PS: Binaries I am running are of Google's cwebp and ImageMagick. My wrapper is a Node function for AWS Lambda.
centos compiling aws binary
add a comment |
I need to compile and run binaries on CentOS 7 but I'm having hard time running my wrapper app due to Python versions and other issues. If I compile and test binaries on Ubuntu (or any other distribution) and then move my binaries to an online CentOS 7 would I run into any binaries-platform problem?
PS: Binaries I am running are of Google's cwebp and ImageMagick. My wrapper is a Node function for AWS Lambda.
centos compiling aws binary
I need to compile and run binaries on CentOS 7 but I'm having hard time running my wrapper app due to Python versions and other issues. If I compile and test binaries on Ubuntu (or any other distribution) and then move my binaries to an online CentOS 7 would I run into any binaries-platform problem?
PS: Binaries I am running are of Google's cwebp and ImageMagick. My wrapper is a Node function for AWS Lambda.
centos compiling aws binary
centos compiling aws binary
asked Jan 3 at 13:14
Lee MoeLee Moe
61
61
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Short answer is that binaries from one system are not guaranteed to run correctly on another system, but they may work. They may also appear to work, but have issues.
Longer answer is that it depends on how those binaries were linked. Statically linked binaries have a better chance of running than dynamically linked binaries. Dynamically linked binaries will have a lot of dependencies that may not be satisfiable by a different distribution.
In your particular case, your best bet is to create a CentOS 7 virtual machine or container and create the binaries there. If you can, generate statically linked binaries, then deploy those to your restricted production system.
Thanks for the answer. There seem to be no short way. I'm doing what you said: compiling on CentOS without testing (I can't test without my wrapper) and then moving the binaries to my host. I hope it works!
– Lee Moe
Jan 4 at 16:13
add a comment |
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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f492239%2fare-centos-7-binaries-the-same-of-ubuntu-or-any-other-gnu-distribution%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Short answer is that binaries from one system are not guaranteed to run correctly on another system, but they may work. They may also appear to work, but have issues.
Longer answer is that it depends on how those binaries were linked. Statically linked binaries have a better chance of running than dynamically linked binaries. Dynamically linked binaries will have a lot of dependencies that may not be satisfiable by a different distribution.
In your particular case, your best bet is to create a CentOS 7 virtual machine or container and create the binaries there. If you can, generate statically linked binaries, then deploy those to your restricted production system.
Thanks for the answer. There seem to be no short way. I'm doing what you said: compiling on CentOS without testing (I can't test without my wrapper) and then moving the binaries to my host. I hope it works!
– Lee Moe
Jan 4 at 16:13
add a comment |
Short answer is that binaries from one system are not guaranteed to run correctly on another system, but they may work. They may also appear to work, but have issues.
Longer answer is that it depends on how those binaries were linked. Statically linked binaries have a better chance of running than dynamically linked binaries. Dynamically linked binaries will have a lot of dependencies that may not be satisfiable by a different distribution.
In your particular case, your best bet is to create a CentOS 7 virtual machine or container and create the binaries there. If you can, generate statically linked binaries, then deploy those to your restricted production system.
Thanks for the answer. There seem to be no short way. I'm doing what you said: compiling on CentOS without testing (I can't test without my wrapper) and then moving the binaries to my host. I hope it works!
– Lee Moe
Jan 4 at 16:13
add a comment |
Short answer is that binaries from one system are not guaranteed to run correctly on another system, but they may work. They may also appear to work, but have issues.
Longer answer is that it depends on how those binaries were linked. Statically linked binaries have a better chance of running than dynamically linked binaries. Dynamically linked binaries will have a lot of dependencies that may not be satisfiable by a different distribution.
In your particular case, your best bet is to create a CentOS 7 virtual machine or container and create the binaries there. If you can, generate statically linked binaries, then deploy those to your restricted production system.
Short answer is that binaries from one system are not guaranteed to run correctly on another system, but they may work. They may also appear to work, but have issues.
Longer answer is that it depends on how those binaries were linked. Statically linked binaries have a better chance of running than dynamically linked binaries. Dynamically linked binaries will have a lot of dependencies that may not be satisfiable by a different distribution.
In your particular case, your best bet is to create a CentOS 7 virtual machine or container and create the binaries there. If you can, generate statically linked binaries, then deploy those to your restricted production system.
answered Jan 3 at 15:14
peterupeteru
116
116
Thanks for the answer. There seem to be no short way. I'm doing what you said: compiling on CentOS without testing (I can't test without my wrapper) and then moving the binaries to my host. I hope it works!
– Lee Moe
Jan 4 at 16:13
add a comment |
Thanks for the answer. There seem to be no short way. I'm doing what you said: compiling on CentOS without testing (I can't test without my wrapper) and then moving the binaries to my host. I hope it works!
– Lee Moe
Jan 4 at 16:13
Thanks for the answer. There seem to be no short way. I'm doing what you said: compiling on CentOS without testing (I can't test without my wrapper) and then moving the binaries to my host. I hope it works!
– Lee Moe
Jan 4 at 16:13
Thanks for the answer. There seem to be no short way. I'm doing what you said: compiling on CentOS without testing (I can't test without my wrapper) and then moving the binaries to my host. I hope it works!
– Lee Moe
Jan 4 at 16:13
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f492239%2fare-centos-7-binaries-the-same-of-ubuntu-or-any-other-gnu-distribution%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown