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. [SOLVED] Loading Shared Library in OS-X: dyld: Library not loaded: [...] Reason: no suitable image found.
QtWS25 Last Chance

[SOLVED] Loading Shared Library in OS-X: dyld: Library not loaded: [...] Reason: no suitable image found.

Scheduled Pinned Locked Moved General and Desktop
shared libraryos x
3 Posts 2 Posters 5.4k 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.
  • F Offline
    F Offline
    Frime
    wrote on 18 Jul 2015, 00:29 last edited by Frime
    #1

    Hi together,

    i have a Qt project with several Sub-Projects. One of these subprojects is loaded as shared library. 1-2 years ago, it was no problem to run this project in OS-X with QtCrator.
    Now, i get following error message:

     Referenced from: /Users/safri-player/build-Safri-Desktop-Debug/bin/Safri-Player
     Reason: no suitable image found.  Did find:
       /usr/local/lib/libPluginSystem.1.dylib: stat() failed with errno=13
    

    The whole projects is compiling without failures. All *.dylib files are built. The links / include statements in the using *.pro file should be correct. I have absolutely no idea what's going wrong. Every help is appreciated!!

    Thanks very much in advance,
    Frime

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hskoglund
      wrote on 18 Jul 2015, 01:57 last edited by
      #2

      Hi, when stat() fails with errno=13, usually it's a permissions problem,
      you can test in Terminal:
      chmod 755 /usr/local/lib
      and then try run your project again.

      F 1 Reply Last reply 20 Jul 2015, 10:34
      1
      • H hskoglund
        18 Jul 2015, 01:57

        Hi, when stat() fails with errno=13, usually it's a permissions problem,
        you can test in Terminal:
        chmod 755 /usr/local/lib
        and then try run your project again.

        F Offline
        F Offline
        Frime
        wrote on 20 Jul 2015, 10:34 last edited by
        #3

        Thanks a lot! This hint was expedient.

        1 Reply Last reply
        0

        1/3

        18 Jul 2015, 00:29

        • Login

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