I cannot run a compiled program on Linux 19 but can on Linux 18 - Boost Problem

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











up vote
0
down vote

favorite












I am building a cryptonote-based coin, I successfully compiled it on Linux 18, and it works perfectly.



I passed the compiled files to Linux 19 Tara, where I have installed the same dependencies as on the Linux 18 PC. When I ran it in the file browser, it did nothing at all. when I ran it through the command line, i get the following error message:



error while loading shared libraries: libboost_system.so.1.58.0: cannot open 
shared object file: no such file or directory


I installed "libboost-all-dev", so there should be no problem, since it ran on the Linux 18.










share|improve this question























  • I mean a cryptonote-based anonymity coin
    – Michael Narper
    Sep 16 at 15:55






  • 1




    Short riddle: when you go to a shop, do you ask a 50 cent coke as you had in your youth, or do you ask for a coke? e.g. if moving binaries more modern versions of the OS, the library versions will change. Recompiling it is easier, there are more messier alternatives.
    – Rui F Ribeiro
    Sep 16 at 16:00











  • Oh okey, then I'll try, thanks for the recommendation, and sorry for my limited knowledge, I am relatively new to Linux
    – Michael Narper
    Sep 16 at 16:03






  • 1




    Do you mean "Linux Mint" everywhere you said "Linux"?
    – Joseph Sible
    Sep 16 at 18:19










  • Yes I do, sorry if it is misleading
    – Michael Narper
    Sep 17 at 18:07














up vote
0
down vote

favorite












I am building a cryptonote-based coin, I successfully compiled it on Linux 18, and it works perfectly.



I passed the compiled files to Linux 19 Tara, where I have installed the same dependencies as on the Linux 18 PC. When I ran it in the file browser, it did nothing at all. when I ran it through the command line, i get the following error message:



error while loading shared libraries: libboost_system.so.1.58.0: cannot open 
shared object file: no such file or directory


I installed "libboost-all-dev", so there should be no problem, since it ran on the Linux 18.










share|improve this question























  • I mean a cryptonote-based anonymity coin
    – Michael Narper
    Sep 16 at 15:55






  • 1




    Short riddle: when you go to a shop, do you ask a 50 cent coke as you had in your youth, or do you ask for a coke? e.g. if moving binaries more modern versions of the OS, the library versions will change. Recompiling it is easier, there are more messier alternatives.
    – Rui F Ribeiro
    Sep 16 at 16:00











  • Oh okey, then I'll try, thanks for the recommendation, and sorry for my limited knowledge, I am relatively new to Linux
    – Michael Narper
    Sep 16 at 16:03






  • 1




    Do you mean "Linux Mint" everywhere you said "Linux"?
    – Joseph Sible
    Sep 16 at 18:19










  • Yes I do, sorry if it is misleading
    – Michael Narper
    Sep 17 at 18:07












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am building a cryptonote-based coin, I successfully compiled it on Linux 18, and it works perfectly.



I passed the compiled files to Linux 19 Tara, where I have installed the same dependencies as on the Linux 18 PC. When I ran it in the file browser, it did nothing at all. when I ran it through the command line, i get the following error message:



error while loading shared libraries: libboost_system.so.1.58.0: cannot open 
shared object file: no such file or directory


I installed "libboost-all-dev", so there should be no problem, since it ran on the Linux 18.










share|improve this question















I am building a cryptonote-based coin, I successfully compiled it on Linux 18, and it works perfectly.



I passed the compiled files to Linux 19 Tara, where I have installed the same dependencies as on the Linux 18 PC. When I ran it in the file browser, it did nothing at all. when I ran it through the command line, i get the following error message:



error while loading shared libraries: libboost_system.so.1.58.0: cannot open 
shared object file: no such file or directory


I installed "libboost-all-dev", so there should be no problem, since it ran on the Linux 18.







boost






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 16 at 15:58









Rui F Ribeiro

36.8k1273117




36.8k1273117










asked Sep 16 at 15:52









Michael Narper

315




315











  • I mean a cryptonote-based anonymity coin
    – Michael Narper
    Sep 16 at 15:55






  • 1




    Short riddle: when you go to a shop, do you ask a 50 cent coke as you had in your youth, or do you ask for a coke? e.g. if moving binaries more modern versions of the OS, the library versions will change. Recompiling it is easier, there are more messier alternatives.
    – Rui F Ribeiro
    Sep 16 at 16:00











  • Oh okey, then I'll try, thanks for the recommendation, and sorry for my limited knowledge, I am relatively new to Linux
    – Michael Narper
    Sep 16 at 16:03






  • 1




    Do you mean "Linux Mint" everywhere you said "Linux"?
    – Joseph Sible
    Sep 16 at 18:19










  • Yes I do, sorry if it is misleading
    – Michael Narper
    Sep 17 at 18:07
















  • I mean a cryptonote-based anonymity coin
    – Michael Narper
    Sep 16 at 15:55






  • 1




    Short riddle: when you go to a shop, do you ask a 50 cent coke as you had in your youth, or do you ask for a coke? e.g. if moving binaries more modern versions of the OS, the library versions will change. Recompiling it is easier, there are more messier alternatives.
    – Rui F Ribeiro
    Sep 16 at 16:00











  • Oh okey, then I'll try, thanks for the recommendation, and sorry for my limited knowledge, I am relatively new to Linux
    – Michael Narper
    Sep 16 at 16:03






  • 1




    Do you mean "Linux Mint" everywhere you said "Linux"?
    – Joseph Sible
    Sep 16 at 18:19










  • Yes I do, sorry if it is misleading
    – Michael Narper
    Sep 17 at 18:07















I mean a cryptonote-based anonymity coin
– Michael Narper
Sep 16 at 15:55




I mean a cryptonote-based anonymity coin
– Michael Narper
Sep 16 at 15:55




1




1




Short riddle: when you go to a shop, do you ask a 50 cent coke as you had in your youth, or do you ask for a coke? e.g. if moving binaries more modern versions of the OS, the library versions will change. Recompiling it is easier, there are more messier alternatives.
– Rui F Ribeiro
Sep 16 at 16:00





Short riddle: when you go to a shop, do you ask a 50 cent coke as you had in your youth, or do you ask for a coke? e.g. if moving binaries more modern versions of the OS, the library versions will change. Recompiling it is easier, there are more messier alternatives.
– Rui F Ribeiro
Sep 16 at 16:00













Oh okey, then I'll try, thanks for the recommendation, and sorry for my limited knowledge, I am relatively new to Linux
– Michael Narper
Sep 16 at 16:03




Oh okey, then I'll try, thanks for the recommendation, and sorry for my limited knowledge, I am relatively new to Linux
– Michael Narper
Sep 16 at 16:03




1




1




Do you mean "Linux Mint" everywhere you said "Linux"?
– Joseph Sible
Sep 16 at 18:19




Do you mean "Linux Mint" everywhere you said "Linux"?
– Joseph Sible
Sep 16 at 18:19












Yes I do, sorry if it is misleading
– Michael Narper
Sep 17 at 18:07




Yes I do, sorry if it is misleading
– Michael Narper
Sep 17 at 18:07










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Check if you have correct version of boost installed:



$ ldd <executable>





share|improve this answer




















  • It says: libboost_system.so.1.58.0 not found, libboost_filesystem.so.1.58.0 not found, libboost_program_options.so.1.58.0 not found
    – Michael Narper
    Sep 16 at 16:09










  • You can try recompiling or upgrading/downgrading boost version, which might break some stuff, but apt should warn you about this, more info here.
    – rabbit
    Sep 16 at 16:29











  • I actually solved it by installing the same version to the second pc, the problem now is that when I run the program in the terminal with './program' it says: Illegal instrction (SIGILL) (core dumped memory image saved)
    – Michael Narper
    Sep 17 at 22:47











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%2f469403%2fi-cannot-run-a-compiled-program-on-linux-19-but-can-on-linux-18-boost-problem%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
0
down vote













Check if you have correct version of boost installed:



$ ldd <executable>





share|improve this answer




















  • It says: libboost_system.so.1.58.0 not found, libboost_filesystem.so.1.58.0 not found, libboost_program_options.so.1.58.0 not found
    – Michael Narper
    Sep 16 at 16:09










  • You can try recompiling or upgrading/downgrading boost version, which might break some stuff, but apt should warn you about this, more info here.
    – rabbit
    Sep 16 at 16:29











  • I actually solved it by installing the same version to the second pc, the problem now is that when I run the program in the terminal with './program' it says: Illegal instrction (SIGILL) (core dumped memory image saved)
    – Michael Narper
    Sep 17 at 22:47















up vote
0
down vote













Check if you have correct version of boost installed:



$ ldd <executable>





share|improve this answer




















  • It says: libboost_system.so.1.58.0 not found, libboost_filesystem.so.1.58.0 not found, libboost_program_options.so.1.58.0 not found
    – Michael Narper
    Sep 16 at 16:09










  • You can try recompiling or upgrading/downgrading boost version, which might break some stuff, but apt should warn you about this, more info here.
    – rabbit
    Sep 16 at 16:29











  • I actually solved it by installing the same version to the second pc, the problem now is that when I run the program in the terminal with './program' it says: Illegal instrction (SIGILL) (core dumped memory image saved)
    – Michael Narper
    Sep 17 at 22:47













up vote
0
down vote










up vote
0
down vote









Check if you have correct version of boost installed:



$ ldd <executable>





share|improve this answer












Check if you have correct version of boost installed:



$ ldd <executable>






share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 16 at 16:03









rabbit

132




132











  • It says: libboost_system.so.1.58.0 not found, libboost_filesystem.so.1.58.0 not found, libboost_program_options.so.1.58.0 not found
    – Michael Narper
    Sep 16 at 16:09










  • You can try recompiling or upgrading/downgrading boost version, which might break some stuff, but apt should warn you about this, more info here.
    – rabbit
    Sep 16 at 16:29











  • I actually solved it by installing the same version to the second pc, the problem now is that when I run the program in the terminal with './program' it says: Illegal instrction (SIGILL) (core dumped memory image saved)
    – Michael Narper
    Sep 17 at 22:47

















  • It says: libboost_system.so.1.58.0 not found, libboost_filesystem.so.1.58.0 not found, libboost_program_options.so.1.58.0 not found
    – Michael Narper
    Sep 16 at 16:09










  • You can try recompiling or upgrading/downgrading boost version, which might break some stuff, but apt should warn you about this, more info here.
    – rabbit
    Sep 16 at 16:29











  • I actually solved it by installing the same version to the second pc, the problem now is that when I run the program in the terminal with './program' it says: Illegal instrction (SIGILL) (core dumped memory image saved)
    – Michael Narper
    Sep 17 at 22:47
















It says: libboost_system.so.1.58.0 not found, libboost_filesystem.so.1.58.0 not found, libboost_program_options.so.1.58.0 not found
– Michael Narper
Sep 16 at 16:09




It says: libboost_system.so.1.58.0 not found, libboost_filesystem.so.1.58.0 not found, libboost_program_options.so.1.58.0 not found
– Michael Narper
Sep 16 at 16:09












You can try recompiling or upgrading/downgrading boost version, which might break some stuff, but apt should warn you about this, more info here.
– rabbit
Sep 16 at 16:29





You can try recompiling or upgrading/downgrading boost version, which might break some stuff, but apt should warn you about this, more info here.
– rabbit
Sep 16 at 16:29













I actually solved it by installing the same version to the second pc, the problem now is that when I run the program in the terminal with './program' it says: Illegal instrction (SIGILL) (core dumped memory image saved)
– Michael Narper
Sep 17 at 22:47





I actually solved it by installing the same version to the second pc, the problem now is that when I run the program in the terminal with './program' it says: Illegal instrction (SIGILL) (core dumped memory image saved)
– Michael Narper
Sep 17 at 22:47


















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f469403%2fi-cannot-run-a-compiled-program-on-linux-19-but-can-on-linux-18-boost-problem%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