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. Dyld: Library not loaded
Forum Updated to NodeBB v4.3 + New Features

Dyld: Library not loaded

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 4.0k 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.
  • C Offline
    C Offline
    cazador7907
    wrote on last edited by
    #1

    Ok. In compiling my program, I'm receiving the following error:

    dyld: Library not loaded: /Users/pulseagent/repos/build2/Desktop/Qt/4.8.0/gcc/lib/QtNetwork.framework/Versions/4/QtNetwork
    Referenced from: /Users/cazador7907/QtSDK/Desktop/Qt/4.8.0/gcc/lib/QtXmlPatterns.framework/Versions/Current/QtXmlPatterns
    Reason: image not found
    The program has unexpectedly finished.

    I am currently using the 4.8.0 framework on the Mac OS X Lion operating system.

    As near as I can tell, the program can't find the QtXmlPatterns library. I know that it exists; however, the library path referenced in the above error doesn't exist on my computer. So, I'm thinking that perhaps this an issue with an environmental variable that I don't know about? Or perhaps I need to recompile the framework?

    Any ideas are greatly appreciated!

    Laurence -

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      It's the other way round:

      QtXmlPatterns was found but, QtNetwork is missing (looks like a wrong path). Could be a problem with the SDK/Qt 4.8 beta.

      You can try to install all the needed libs with macdeployqt tool.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cazador7907
        wrote on last edited by
        #3

        Thanks! I will take a look at the macdeployqt tool. In the mean time, I reset the app to use 4.7.3 so that I can continue my development work.

        Laurence -

        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