Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error loading shared libraries: libmpc
Forum Updated to NodeBB v4.3 + New Features

Error loading shared libraries: libmpc

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.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.
  • M Offline
    M Offline
    mke48
    wrote on last edited by
    #1

    I have an existing project with C++ files. I opened that project on Qt and went to Debug->Start debugging, but I get an error message
    /opt/apps/ossw/applications/gcc/gcc-4.6/sl6/libexec/gcc/x86_64-unknown-linux-gnu/4.6.3/cc1plus:-1: error: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory

    I don't understand why I'm getting this because I never got this error when I compiled before using CMakeLists and make on Linux

    When I tried to search for that file, I see a ton of directories, but they all also say Permission denied on the command prompt

    What can I do to resolve this?

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

      Hi and welcome to devnet,

      Do you have that file there ? The rights to access it ? Is it pointing to something valid ?

      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
      • M Offline
        M Offline
        mke48
        wrote on last edited by
        #3

        As I said, when I tried to search for that file, I see a ton of directories, but they all also say Permission denied on the command prompt

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

          Permission denied can have several sources, either your user just don't have the rights to access these folders (which is strange) or you may be trying to access a mounted device that's not there anymore.

          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

          • Login

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