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. Mac OS X, Qt Creator. Library not loaded. Need to set the path to find out *.dylibs
Forum Update on Monday, May 27th 2025

Mac OS X, Qt Creator. Library not loaded. Need to set the path to find out *.dylibs

Scheduled Pinned Locked Moved Installation and Deployment
mac os xqt creator 3.3runtimelibraries
4 Posts 2 Posters 5.6k Views
  • 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
    mezmay
    wrote on last edited by mezmay
    #1

    Mac OS X Yosemite, Qt Creator 3.4.1, Intel IPP 2015.
    I try to run debugging of my project, but get this error:

    dyld: Library not loaded: ./libipps-8.2.dylib Referenced from:
    /my_path/my_app.app/Contents/MacOS/my_app
    Reason: image not found

    I have path to intel dylibs in section 'LIBS' in my .pro file:

    LIBS += -L/opt/intel/ipp/lib/ -lipps -lippcore

    I have tried to add that path to the variables DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH, But it has not helped.

    This may be a problem with changing the library search paths, starting with version Maverics.

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

      Hi and welcome to devnet,

      Where did you defined DYLD_LIBRARY_PATH ?

      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
        mezmay
        wrote on last edited by mezmay
        #3

        I have written
        export DYLD_LIBRARY_PATH = .:$DYLD_LIBRARY_PATH:/opt/intel/ipp/lib/
        Link about the problem with Qt Creator and Paths:
        https://stackoverflow.com/questions/30872420/cannot-set-custom-path-for-qt-creator-on-os-x-10-10

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

          That's normal, the PATH you modify in your terminal in not used by Finder.

          Take a look at this thread

          Might help.

          In any case, you should rather go to the Run part of the Project panel, there you can add these variables for your project so you won't be interfering with others.

          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