Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cant install "QtSdk-offline-linux-x86_64-v1.2.1.run" under PC-BSD9 64bit
Qt 6.12 LTS is out! See what's new in the release blog

Cant install "QtSdk-offline-linux-x86_64-v1.2.1.run" under PC-BSD9 64bit

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 2 Posters 6.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi all,
    I'm using PC-BSD and just downloaded "QtSdk-offline-linux-x86_64-v1.2.1.run"
    Did try to install it like that:
    chmod +x QtSdk-online-linux-x86_64-v1.2.1.run
    ./QtSdk-online-linux-x86_64-v1.2.1.run

    But got the following error:
    LF binary type "0" not known.
    ./QtSdk-online-linux-x86_64-v1.2.1.run: Exec format error. Binary file not executable.

    If i try to install it this way:
    sudo sh QtSdk-online-linux-x86_64-v1.2.1.run

    I'm getting:
    QtSdk-online-linux-x86_64-v1.2.1.run: ELF: not found
    QtSdk-online-linux-x86_64-v1.2.1.run: �sB�a@8: not found
    QtSdk-online-linux-x86_64-v1.2.1.run: �a@8: not found
    QtSdk-online-linux-x86_64-v1.2.1.run:�a@8: not found
    QtSdk-online-linux-x86_64-v1.2.1.run: @8: not found
    QtSdk-online-linux-x86_64-v1.2.1.run: @8: not found
    QtSdk-online-linux-x86_64-v1.2.1.run: 8: not found
    QtSdk-online-linux-x86_64-v1.2.1.run: 1: Syntax error: ")" unexpected
    QtSdk-online-linux-x86_64-v1.2.1.run: 10: Syntax error: Error in command substitution

    I'm new in Linux and may be missing something. Can't find out what's the problem.
    Thanks.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Bsd is a different system. It might be - although it's unlikely - that it does not understand ELF binaries. Try compiling libs from source.

      (Z(:^

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Ok, then where i can download these ELF binaries from ?
        Also after that how will install QT ?
        Its only in .run file format i think.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Those ARE ELF binaries. "ELF":http://en.wikipedia.org/wiki/Executable_and_Linkable_Format is a standard way of creating binary files on Linux/ Unix. SDK is prepared - AFAIK - for Tier 1 supported platforms only, and yours might not count in.

          If you download source code, it's quite straightforward: run "./configure", "make", then "sudo make install", and you're done. It takes a lot of time, though. If you have multi-core machine, you can use "make -j<number of cores + 1>" (for example, on a 4 core machine: make -j5) to speed it up.

          (Z(:^

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            Or try if your distro has "libelf" available in package manager.

            (Z(:^

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              ok, then i need to download and build QT libraries, right ?
              this one: Qt libraries 4.8.2 for Linux/X11 (228 MB)
              after that do i need to install QT ? I suppose these are qt underlying libs and then i'll need to install
              the IDE, obviously using its source as well. Since pcbsd (obvoiously) doesnt support .run format. Is that correct ?

              1 Reply Last reply
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #7

                I'm not familiar with PCBSD, so I can't give you concrete answers. But building from source definitely guarantees you, that if it compiles successfully, it will work :)

                I gave you installation instructions above. Libs package you chose is correct. For IDE, Qt Creator is a good weapon of choice - compilation is similarly easy, just take a look into it's README file. If you encounter any problems, ask here, and we'll try to solve them.

                For a good list of required packages, see "this":http://qt-project.org/wiki/Building-Qt-5-from-Git. It's aimed at Qt5, but works for 4.8, too. Also, notice the setting of PATH and QTDIR, it's quite useful. In general, for PATH, you need to set it to <extracted Qt dir>/bin, and QTDIR to <extracted Qt dir>.

                Good luck!

                (Z(:^

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt
                • Unsolved