I cannot run any executable from nautilus












1















With Ubuntu 18.04 have a problem. When compiling something, the executable binary is showed as shared-library in Nautilus.
When double clicked any executable file, I got the following message



"There is no application installed for "shared library" ......










share|improve this question

























  • However in terminal, I can run whatever I want.

    – John Puskin
    Jul 17 '18 at 12:24











  • No. Nautilus sees executable as shared library. When double-clicked, it says, "There is no application installed for "shared library" ...... "

    – John Puskin
    Jul 17 '18 at 12:41






  • 1





    askubuntu.com/a/929483/15811

    – Rinzwind
    Jul 17 '18 at 12:50






  • 1





    -fno-pic -no-pie is the solutlion. Thanx.

    – John Puskin
    Jul 17 '18 at 12:55











  • Hi John! Pease add an answer for your solution. Is it a Qt (qmake) specific problem?

    – abu_bua
    Jul 17 '18 at 13:28
















1















With Ubuntu 18.04 have a problem. When compiling something, the executable binary is showed as shared-library in Nautilus.
When double clicked any executable file, I got the following message



"There is no application installed for "shared library" ......










share|improve this question

























  • However in terminal, I can run whatever I want.

    – John Puskin
    Jul 17 '18 at 12:24











  • No. Nautilus sees executable as shared library. When double-clicked, it says, "There is no application installed for "shared library" ...... "

    – John Puskin
    Jul 17 '18 at 12:41






  • 1





    askubuntu.com/a/929483/15811

    – Rinzwind
    Jul 17 '18 at 12:50






  • 1





    -fno-pic -no-pie is the solutlion. Thanx.

    – John Puskin
    Jul 17 '18 at 12:55











  • Hi John! Pease add an answer for your solution. Is it a Qt (qmake) specific problem?

    – abu_bua
    Jul 17 '18 at 13:28














1












1








1








With Ubuntu 18.04 have a problem. When compiling something, the executable binary is showed as shared-library in Nautilus.
When double clicked any executable file, I got the following message



"There is no application installed for "shared library" ......










share|improve this question
















With Ubuntu 18.04 have a problem. When compiling something, the executable binary is showed as shared-library in Nautilus.
When double clicked any executable file, I got the following message



"There is no application installed for "shared library" ......







18.04 executable






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 17 '18 at 12:43







John Puskin

















asked Jul 17 '18 at 12:23









John PuskinJohn Puskin

62




62













  • However in terminal, I can run whatever I want.

    – John Puskin
    Jul 17 '18 at 12:24











  • No. Nautilus sees executable as shared library. When double-clicked, it says, "There is no application installed for "shared library" ...... "

    – John Puskin
    Jul 17 '18 at 12:41






  • 1





    askubuntu.com/a/929483/15811

    – Rinzwind
    Jul 17 '18 at 12:50






  • 1





    -fno-pic -no-pie is the solutlion. Thanx.

    – John Puskin
    Jul 17 '18 at 12:55











  • Hi John! Pease add an answer for your solution. Is it a Qt (qmake) specific problem?

    – abu_bua
    Jul 17 '18 at 13:28



















  • However in terminal, I can run whatever I want.

    – John Puskin
    Jul 17 '18 at 12:24











  • No. Nautilus sees executable as shared library. When double-clicked, it says, "There is no application installed for "shared library" ...... "

    – John Puskin
    Jul 17 '18 at 12:41






  • 1





    askubuntu.com/a/929483/15811

    – Rinzwind
    Jul 17 '18 at 12:50






  • 1





    -fno-pic -no-pie is the solutlion. Thanx.

    – John Puskin
    Jul 17 '18 at 12:55











  • Hi John! Pease add an answer for your solution. Is it a Qt (qmake) specific problem?

    – abu_bua
    Jul 17 '18 at 13:28

















However in terminal, I can run whatever I want.

– John Puskin
Jul 17 '18 at 12:24





However in terminal, I can run whatever I want.

– John Puskin
Jul 17 '18 at 12:24













No. Nautilus sees executable as shared library. When double-clicked, it says, "There is no application installed for "shared library" ...... "

– John Puskin
Jul 17 '18 at 12:41





No. Nautilus sees executable as shared library. When double-clicked, it says, "There is no application installed for "shared library" ...... "

– John Puskin
Jul 17 '18 at 12:41




1




1





askubuntu.com/a/929483/15811

– Rinzwind
Jul 17 '18 at 12:50





askubuntu.com/a/929483/15811

– Rinzwind
Jul 17 '18 at 12:50




1




1





-fno-pic -no-pie is the solutlion. Thanx.

– John Puskin
Jul 17 '18 at 12:55





-fno-pic -no-pie is the solutlion. Thanx.

– John Puskin
Jul 17 '18 at 12:55













Hi John! Pease add an answer for your solution. Is it a Qt (qmake) specific problem?

– abu_bua
Jul 17 '18 at 13:28





Hi John! Pease add an answer for your solution. Is it a Qt (qmake) specific problem?

– abu_bua
Jul 17 '18 at 13:28










1 Answer
1






active

oldest

votes


















1














If you can't try non-extension of Ubuntu 18.04 - It looks like it doesn't work for the newest version. I think it works fine with *.sh because sometimes there's a copy violation of MacOS's shell or non-extension-able executable.



I have tried normal executable under Ubuntu 18.04, then you can replace yourapp with yourapp.sh then you can click yourapp.sh, then it will open the application.



PS: Please remember that for Ubuntu 18.04 need all replacement of yourapp"*" to yourapp".sh" - If system-engine-used binaries because it used by $PATH and any binaries like cp, rm etc don't need *.sh just let. If you are not sure for executable and shell format.



I hope you have tried to open executable and shell.






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1056882%2fi-cannot-run-any-executable-from-nautilus%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









    1














    If you can't try non-extension of Ubuntu 18.04 - It looks like it doesn't work for the newest version. I think it works fine with *.sh because sometimes there's a copy violation of MacOS's shell or non-extension-able executable.



    I have tried normal executable under Ubuntu 18.04, then you can replace yourapp with yourapp.sh then you can click yourapp.sh, then it will open the application.



    PS: Please remember that for Ubuntu 18.04 need all replacement of yourapp"*" to yourapp".sh" - If system-engine-used binaries because it used by $PATH and any binaries like cp, rm etc don't need *.sh just let. If you are not sure for executable and shell format.



    I hope you have tried to open executable and shell.






    share|improve this answer






























      1














      If you can't try non-extension of Ubuntu 18.04 - It looks like it doesn't work for the newest version. I think it works fine with *.sh because sometimes there's a copy violation of MacOS's shell or non-extension-able executable.



      I have tried normal executable under Ubuntu 18.04, then you can replace yourapp with yourapp.sh then you can click yourapp.sh, then it will open the application.



      PS: Please remember that for Ubuntu 18.04 need all replacement of yourapp"*" to yourapp".sh" - If system-engine-used binaries because it used by $PATH and any binaries like cp, rm etc don't need *.sh just let. If you are not sure for executable and shell format.



      I hope you have tried to open executable and shell.






      share|improve this answer




























        1












        1








        1







        If you can't try non-extension of Ubuntu 18.04 - It looks like it doesn't work for the newest version. I think it works fine with *.sh because sometimes there's a copy violation of MacOS's shell or non-extension-able executable.



        I have tried normal executable under Ubuntu 18.04, then you can replace yourapp with yourapp.sh then you can click yourapp.sh, then it will open the application.



        PS: Please remember that for Ubuntu 18.04 need all replacement of yourapp"*" to yourapp".sh" - If system-engine-used binaries because it used by $PATH and any binaries like cp, rm etc don't need *.sh just let. If you are not sure for executable and shell format.



        I hope you have tried to open executable and shell.






        share|improve this answer















        If you can't try non-extension of Ubuntu 18.04 - It looks like it doesn't work for the newest version. I think it works fine with *.sh because sometimes there's a copy violation of MacOS's shell or non-extension-able executable.



        I have tried normal executable under Ubuntu 18.04, then you can replace yourapp with yourapp.sh then you can click yourapp.sh, then it will open the application.



        PS: Please remember that for Ubuntu 18.04 need all replacement of yourapp"*" to yourapp".sh" - If system-engine-used binaries because it used by $PATH and any binaries like cp, rm etc don't need *.sh just let. If you are not sure for executable and shell format.



        I hope you have tried to open executable and shell.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 3 at 14:06

























        answered Oct 8 '18 at 12:33









        Jens EckervogtJens Eckervogt

        415




        415






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1056882%2fi-cannot-run-any-executable-from-nautilus%23new-answer', 'question_page');
            }
            );

            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







            Popular posts from this blog

            How to change which sound is reproduced for terminal bell?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Can I use Tabulator js library in my java Spring + Thymeleaf project?