Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Problem after compile qt-everywhere-opensource-src-4.7.4 - ./test: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object f

    Installation and Deployment
    3
    15
    7568
    Loading More Posts
    • 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.
    • E
      Elber last edited by

      Hi, my QT libraries do not work. QT compiled with the option @./configure -embedded -opensource -openssl@ and afrter make and make install as root, I get the message at startup my program
      @./test: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory@

      My system is Ubuntu 10.04 x64

      How to fix it ?

      1 Reply Last reply Reply Quote 0
      • V
        vsorokin last edited by

        You build it for your Ubuntu? Then why did you set embedded flag?

        Also you can check:

        bq. ls -la /usr/lib | grep libQtWebKit

        --
        Vasiliy

        1 Reply Last reply Reply Quote 0
        • E
          Elber last edited by

          xray147:~# ls -la /usr/lib | grep libQtWebKit
          xray147:~#

          1 Reply Last reply Reply Quote 0
          • E
            Elber last edited by

            What do I do now? make uninstall and repeat ./configure ?? ./configure of what options ?

            1 Reply Last reply Reply Quote 0
            • K
              koahnig last edited by

              As Vass noted already a couple of things are not clear from your post.

              You are working on Ubuntu, but you compiled Qt for an embedded device. If you want to work and test also on Ubuntu, than you have to compile Qt for for host platform Ubuntu as well.
              Where are you starting your test application?

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply Reply Quote 0
              • K
                koahnig last edited by

                You can install different versions of Qt on your system. So, you can compile it for embedded devices and also for your host. However, you have to make sure that the installations are not mixed up.

                Vote the answer(s) that helped you to solve your issue(s)

                1 Reply Last reply Reply Quote 0
                • E
                  Elber last edited by

                  :) How to set ubuntu x64 flag in ./configure ?

                  1 Reply Last reply Reply Quote 0
                  • V
                    vsorokin last edited by

                    without 'embedded' flag

                    --
                    Vasiliy

                    1 Reply Last reply Reply Quote 0
                    • E
                      Elber last edited by

                      OK :) fast or no-fast ??

                      1 Reply Last reply Reply Quote 0
                      • E
                        Elber last edited by

                        i try with -fast flag and i hav'e error:

                        bq. Basic XLib functionality test failed!
                        You might need to modify the include and library search paths by editing
                        QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /opt/qt-everywhere-opensource-src-4.7.4/mkspecs/linux-g++-64.

                        1 Reply Last reply Reply Quote 0
                        • K
                          koahnig last edited by

                          It looks that you have not installed all prequisites.
                          There are a couple of addtional libs you have to install under linux. Add xlib support to your installation. There may be more missing.

                          Vote the answer(s) that helped you to solve your issue(s)

                          1 Reply Last reply Reply Quote 0
                          • E
                            Elber last edited by

                            ok i install xlib ;) i have a last question - fast or no-fast ? What is the difference ?

                            1 Reply Last reply Reply Quote 0
                            • K
                              koahnig last edited by

                              This is the explanation from confgure script:
                              [quote]
                              @

                              • -no-fast ........... Configure Qt normally by generating Makefiles for all
                                project files.
                                -fast .............. Configure Qt quickly by generating Makefiles only for
                                library and subdirectory targets. All other Makefiles
                                are created as wrappers, which will in turn run qmake.
                                @
                                [/quote]
                                It might be a matter of taste. I prefer the defaults, so -no-fast .

                              BTW there are explanations in the script ;-)

                              Vote the answer(s) that helped you to solve your issue(s)

                              1 Reply Last reply Reply Quote 0
                              • V
                                vsorokin last edited by

                                bq.

                                • -no-fast ........... Configure Qt normally by generating Makefiles for all
                                  project files.
                                  -fast .............. Configure Qt quickly by generating Makefiles only for
                                  library and subdirectory targets. All other Makefiles
                                  are created as wrappers, which will in turn run qmake.

                                recommend no-fast

                                --
                                Vasiliy

                                1 Reply Last reply Reply Quote 0
                                • E
                                  Elber last edited by

                                  Ok after make and make install again i have comunicat:

                                  bq. ./test: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post