I cannot run a compiled program on Linux 19 but can on Linux 18 - Boost Problem
Clash 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.
boost
add a comment |Â
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.
boost
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
add a comment |Â
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.
boost
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
boost
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
add a comment |Â
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
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Check if you have correct version of boost installed:
$ ldd <executable>
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
add a comment |Â
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>
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
add a comment |Â
up vote
0
down vote
Check if you have correct version of boost installed:
$ ldd <executable>
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
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Check if you have correct version of boost installed:
$ ldd <executable>
Check if you have correct version of boost installed:
$ ldd <executable>
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
add a comment |Â
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
add a comment |Â
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
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
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
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
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
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