Qt World Summit: Register Today!

Dyld: Library not loaded

  • 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!

  • 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.

  • 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.

Log in to reply