Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. qt5_build/qtbase/lib/libQt5Core.so: No such file or directory
Forum Updated to NodeBB v4.3 + New Features

qt5_build/qtbase/lib/libQt5Core.so: No such file or directory

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 597 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.
  • W Offline
    W Offline
    walker404
    wrote on last edited by
    #1

    BackGround
    Ubuntu 18.04 build Qt5 from source Code, couldn't found libQt5Core.so
    (follow https://wiki.qt.io/Building_Qt_5_from_Git)
    Issue:
    make not success, couldn't found libQt5Core.so, but in the same directory, there is libQt5Core.so.5.15.7.
    Could anyone give me some direction to c?
    Steps
    step1: sudo apt-get build-dep qtbase5-dev
    step2: get git source, and update submodule
    step3: run configure
    walker@ubuntu:/mnt/hgfs/sync/qt5_build$ /home/walker/repo/qt5/configure -developer-build -opensource -nomake examples -nomake tests
    step4: make, then show the wrong hint

    g++ -Wl,--enable-new-dtags -Wl,-rpath,/mnt/hgfs/sync/qt5_build/qtbase/lib -o ../../../bin/qlalr .obj/compress.o .obj/cppgenerator.o .obj/dotgraph.o .obj/lalr.o .obj/main.o .obj/parsetable.o .obj/recognizer.o .obj/grammar.o /mnt/hgfs/sync/qt5_build/qtbase/lib/libQt5Core.so -lpthread
    g++: error: /mnt/hgfs/sync/qt5_build/qtbase/lib/libQt5Core.so: No such file or directory
    Makefile:138: recipe for target '../../../bin/qlalr' failed
    make[3]: *** [../../../bin/qlalr] Error 1
    make[3]: Leaving directory '/mnt/hgfs/sync/qt5_build/qtbase/src/tools/qlalr'
    Makefile:227: recipe for target 'sub-qlalr-make_first' failed
    make[2]: *** [sub-qlalr-make_first] Error 2
    make[2]: Leaving directory '/mnt/hgfs/sync/qt5_build/qtbase/src'
    Makefile:50: recipe for target 'sub-src-make_first' failed
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory '/mnt/hgfs/sync/qt5_build/qtbase'
    Makefile:93: recipe for target 'module-qtbase-make_first' failed
    make: *** [module-qtbase-make_first] Error 2

    walker@ubuntu:/mnt/hgfs/sync/qt5_build$ ls -alF qtbase/lib
    total 86465
    drwxrwxrwx 1 root root 4096 Nov 2 07:21 ./
    drwxrwxrwx 1 root root 4096 Nov 2 06:55 ../
    drwxrwxrwx 1 root root 0 Nov 2 07:02 cmake/
    -rwxrwxrwx 1 root root 4772546 Nov 2 07:01 libQt5Bootstrap.a*
    -rwxrwxrwx 1 root root 602 Nov 2 06:55 libQt5Bootstrap.la*
    -rwxrwxrwx 1 root root 1162 Nov 2 06:55 libQt5Bootstrap.prl*
    -rwxrwxrwx 1 root root 651 Nov 2 07:02 libQt5Core.la*
    -rwxrwxrwx 1 root root 1285 Nov 2 07:02 libQt5Core.prl*
    -rwxrwxrwx 1 root root 82207840 Nov 2 07:21 libQt5Core.so.5.15.7*
    -rwxrwxrwx 1 root root 1544096 Nov 2 07:02 libqtpcre2.a*
    -rwxrwxrwx 1 root root 1004 Nov 2 07:02 libqtpcre2.prl*
    drwxrwxrwx 1 root root 0 Nov 2 07:10 metatypes/

    W 1 Reply Last reply
    0
    • W walker404

      BackGround
      Ubuntu 18.04 build Qt5 from source Code, couldn't found libQt5Core.so
      (follow https://wiki.qt.io/Building_Qt_5_from_Git)
      Issue:
      make not success, couldn't found libQt5Core.so, but in the same directory, there is libQt5Core.so.5.15.7.
      Could anyone give me some direction to c?
      Steps
      step1: sudo apt-get build-dep qtbase5-dev
      step2: get git source, and update submodule
      step3: run configure
      walker@ubuntu:/mnt/hgfs/sync/qt5_build$ /home/walker/repo/qt5/configure -developer-build -opensource -nomake examples -nomake tests
      step4: make, then show the wrong hint

      g++ -Wl,--enable-new-dtags -Wl,-rpath,/mnt/hgfs/sync/qt5_build/qtbase/lib -o ../../../bin/qlalr .obj/compress.o .obj/cppgenerator.o .obj/dotgraph.o .obj/lalr.o .obj/main.o .obj/parsetable.o .obj/recognizer.o .obj/grammar.o /mnt/hgfs/sync/qt5_build/qtbase/lib/libQt5Core.so -lpthread
      g++: error: /mnt/hgfs/sync/qt5_build/qtbase/lib/libQt5Core.so: No such file or directory
      Makefile:138: recipe for target '../../../bin/qlalr' failed
      make[3]: *** [../../../bin/qlalr] Error 1
      make[3]: Leaving directory '/mnt/hgfs/sync/qt5_build/qtbase/src/tools/qlalr'
      Makefile:227: recipe for target 'sub-qlalr-make_first' failed
      make[2]: *** [sub-qlalr-make_first] Error 2
      make[2]: Leaving directory '/mnt/hgfs/sync/qt5_build/qtbase/src'
      Makefile:50: recipe for target 'sub-src-make_first' failed
      make[1]: *** [sub-src-make_first] Error 2
      make[1]: Leaving directory '/mnt/hgfs/sync/qt5_build/qtbase'
      Makefile:93: recipe for target 'module-qtbase-make_first' failed
      make: *** [module-qtbase-make_first] Error 2

      walker@ubuntu:/mnt/hgfs/sync/qt5_build$ ls -alF qtbase/lib
      total 86465
      drwxrwxrwx 1 root root 4096 Nov 2 07:21 ./
      drwxrwxrwx 1 root root 4096 Nov 2 06:55 ../
      drwxrwxrwx 1 root root 0 Nov 2 07:02 cmake/
      -rwxrwxrwx 1 root root 4772546 Nov 2 07:01 libQt5Bootstrap.a*
      -rwxrwxrwx 1 root root 602 Nov 2 06:55 libQt5Bootstrap.la*
      -rwxrwxrwx 1 root root 1162 Nov 2 06:55 libQt5Bootstrap.prl*
      -rwxrwxrwx 1 root root 651 Nov 2 07:02 libQt5Core.la*
      -rwxrwxrwx 1 root root 1285 Nov 2 07:02 libQt5Core.prl*
      -rwxrwxrwx 1 root root 82207840 Nov 2 07:21 libQt5Core.so.5.15.7*
      -rwxrwxrwx 1 root root 1544096 Nov 2 07:02 libqtpcre2.a*
      -rwxrwxrwx 1 root root 1004 Nov 2 07:02 libqtpcre2.prl*
      drwxrwxrwx 1 root root 0 Nov 2 07:10 metatypes/

      W Offline
      W Offline
      walker404
      wrote on last edited by walker404
      #3

      @walker404 finally found the root cause, use the shared file path between virtual ubuntu and windows.
      f8a5e2c8-4e89-461d-b774-42a787f21968-Image.png

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi and welcome to devnet,

        What if you do not do a developer build ? (By the way, why a developer build ?)

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • W walker404

          BackGround
          Ubuntu 18.04 build Qt5 from source Code, couldn't found libQt5Core.so
          (follow https://wiki.qt.io/Building_Qt_5_from_Git)
          Issue:
          make not success, couldn't found libQt5Core.so, but in the same directory, there is libQt5Core.so.5.15.7.
          Could anyone give me some direction to c?
          Steps
          step1: sudo apt-get build-dep qtbase5-dev
          step2: get git source, and update submodule
          step3: run configure
          walker@ubuntu:/mnt/hgfs/sync/qt5_build$ /home/walker/repo/qt5/configure -developer-build -opensource -nomake examples -nomake tests
          step4: make, then show the wrong hint

          g++ -Wl,--enable-new-dtags -Wl,-rpath,/mnt/hgfs/sync/qt5_build/qtbase/lib -o ../../../bin/qlalr .obj/compress.o .obj/cppgenerator.o .obj/dotgraph.o .obj/lalr.o .obj/main.o .obj/parsetable.o .obj/recognizer.o .obj/grammar.o /mnt/hgfs/sync/qt5_build/qtbase/lib/libQt5Core.so -lpthread
          g++: error: /mnt/hgfs/sync/qt5_build/qtbase/lib/libQt5Core.so: No such file or directory
          Makefile:138: recipe for target '../../../bin/qlalr' failed
          make[3]: *** [../../../bin/qlalr] Error 1
          make[3]: Leaving directory '/mnt/hgfs/sync/qt5_build/qtbase/src/tools/qlalr'
          Makefile:227: recipe for target 'sub-qlalr-make_first' failed
          make[2]: *** [sub-qlalr-make_first] Error 2
          make[2]: Leaving directory '/mnt/hgfs/sync/qt5_build/qtbase/src'
          Makefile:50: recipe for target 'sub-src-make_first' failed
          make[1]: *** [sub-src-make_first] Error 2
          make[1]: Leaving directory '/mnt/hgfs/sync/qt5_build/qtbase'
          Makefile:93: recipe for target 'module-qtbase-make_first' failed
          make: *** [module-qtbase-make_first] Error 2

          walker@ubuntu:/mnt/hgfs/sync/qt5_build$ ls -alF qtbase/lib
          total 86465
          drwxrwxrwx 1 root root 4096 Nov 2 07:21 ./
          drwxrwxrwx 1 root root 4096 Nov 2 06:55 ../
          drwxrwxrwx 1 root root 0 Nov 2 07:02 cmake/
          -rwxrwxrwx 1 root root 4772546 Nov 2 07:01 libQt5Bootstrap.a*
          -rwxrwxrwx 1 root root 602 Nov 2 06:55 libQt5Bootstrap.la*
          -rwxrwxrwx 1 root root 1162 Nov 2 06:55 libQt5Bootstrap.prl*
          -rwxrwxrwx 1 root root 651 Nov 2 07:02 libQt5Core.la*
          -rwxrwxrwx 1 root root 1285 Nov 2 07:02 libQt5Core.prl*
          -rwxrwxrwx 1 root root 82207840 Nov 2 07:21 libQt5Core.so.5.15.7*
          -rwxrwxrwx 1 root root 1544096 Nov 2 07:02 libqtpcre2.a*
          -rwxrwxrwx 1 root root 1004 Nov 2 07:02 libqtpcre2.prl*
          drwxrwxrwx 1 root root 0 Nov 2 07:10 metatypes/

          W Offline
          W Offline
          walker404
          wrote on last edited by walker404
          #3

          @walker404 finally found the root cause, use the shared file path between virtual ubuntu and windows.
          f8a5e2c8-4e89-461d-b774-42a787f21968-Image.png

          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 Extensions
          • Unsolved