Results 1 to 6 of 6

Thread: Can't run executable file directly: Cannot open shared object file

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2008
    Location
    Philippines
    Posts
    60
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    9
    Thanked 1 Time in 1 Post

    Default Re: Can't run executable file directly: Cannot open shared object file

    You can also create a shell script like this:

    bash Code:
    1. #!bin/bash
    2. LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"path_of_your_libs"
    3. export LD_LIBRARY_PATH
    4. exec "./app_name"
    To copy to clipboard, switch view to plain text mode 

    Then make the script executable:

    bash Code:
    1. $chmod +x script_name
    To copy to clipboard, switch view to plain text mode 

    Hope this help! Cheers!
    Last edited by wysota; 15th June 2010 at 11:02.

Similar Threads

  1. KDE shared object file is missing
    By SimbadSubZero in forum Qt Programming
    Replies: 0
    Last Post: 13th December 2009, 15:43
  2. Related to Packaging of Qt4 Application
    By archanasubodh in forum Installation and Deployment
    Replies: 1
    Last Post: 21st March 2008, 15:55

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.