I'v installed gtk+ and run some programs well under X11 on OSX El Capitan. Program looks ugly, so I installed gtk-chtheme.
Now I can't run my program and get this error:
Fatal error: cannot load shared library dlllablgtk2
Reason: dlopen(/Users/mac/.opam/system/lib/stublibs/dlllablgtk2.so, 138): Library not loaded: /usr/local/lib/libgtk-x11-2.0.0.dylib
Referenced from: /Users/mac/.opam/system/lib/stublibs/dlllablgtk2.so
Reason: image not found
Related
I am trying to convert an image with qemu-img from VHDX to qcow2 on macOS 11.3.1 yet I get the following error message:
dyld: Library not loaded: /usr/local/opt/nettle/lib/libnettle.6.dylib
Referenced from: /usr/local/bin/qemu-img
Reason: image not found
Abort trap: 6
I have installed qemu using homebrew.
Turns out the problem was solved simply by reinstalling qemu using homebrew with the following:
brew reinstall qemu
When I ran a C++ application in XCode on MacOS 10.14 that uses OpenGL and Assimp, everything compiled, but I got this error
dyld: Library not loaded: #rpath/libIrrXMLd.dylib
Referenced from: /usr/local/lib/libassimpd.5.dylib
Reason: image not found
Program ended with exit code: 9
Searched on Google and seems like no one has had this problem before
I'm a python and Qt rookie and I have some problems running pyside-rcc (and pyrcc4). The problem is not the link to the executable but a library problem it seems. That I'm not a unix wizard, probably doesn't help either:)
When I run $ pyside-rcc i get the following error
dyld: Library not loaded: #rpath/lib/QtCore.framework/Versions/4/QtCore
Referenced from: /Users/[USERNAME]/Library/Enthought/Canopy_64bit/User/bin/pyside-rcc
Reason: image not found
Trace/BPT trap: 5
For $ pyrcc4 the error is similar but not exactly the same:
dyld: Library not loaded: #rpath/lib/QtXml.framework/Versions/4/QtXml
Referenced from: /Users/[USERNAME]/Library/Enthought/Canopy_64bit/User/bin/pyrcc4
Reason: image not found
Trace/BPT trap: 5
I'm running Mac OS X 10.9
I have Enthought Canopy (v.1.5.1) installed with the following
packages: Qt 4.8.5-10, PySide 1.2.2, PyQt 4.11.0-1
I have also installed Qt Creator (3.3.0) which came with Qt 5.4.0
To activate the Canopy python packages system wide I have the following line in mt .bash_profile
VIRTUAL_ENV_DISABLE_PROMPT=1 source /Users/[USERNAME]/Library/Enthought/Canopy_64bit/User/bin/activate
I have found a lot of posts with dyld: Library not loaded... errors but I can't find the right path to the Qt framework and thus, I'm stuck... Does anyone with Enthought Canopy have the same problem?
Thank you in advance, I appreciate any help.
Solved! I found a similar question here: http://qt-project.org/forums/viewthread/9024
The libraries (when installed through Canopy) is in /Users/[USERNAME]/Library/Enthought/Canopy_64bit/User/lib
Apparently they should be in /Library/Frameworks After copying them here it works...
I compiled the QJSon code from the command line and it generated a dylib (libqjson.0.7.1.dylib) I then added this file as an external dependency to one of the libraries in my app. (using Xcode 4.3 as the IDE) everything seems to compile correctly. When i go to run the app i get the following error:
dyld: Library not loaded: /Users/shawneckley/Mac_Dev/Development/build/thirdparty/qjson/src/lib/libqjson.0.dylib
Referenced from: /Users/shawneckley/Mac_Dev/Development/Build/bin/Debug/libstonewedgeaccountandclient.dylib
Reason: image not found
(lldb)
any idea why this could be happening?
I am building a command line tool .I have added Flac.framework in my xcode project and I am running it for 32 bit mac. But It is giving error after running
dyld: Library not loaded:
#executable_path/../Frameworks/FLAC.framework/Versions/A/FLAC
Referenced from:
/Users/Library/Developer/Xcode/DerivedData/Flac_decoder-dbwsvotpcvjmwceheldbxndflbig/Build/Products/Debug/Flac_decoder
Reason: image not found
I have included Header search Path and framework path and still giving error. How to resolve this ?