dyld, the Dynamic Link Editor, is the binary loader for Darwin (Mac OS X). Questions about dyld typically involve shared libraries being unavailable at link-time, or unavailable at runtime.
Questions tagged [dyld]
465 questions
0
votes
1 answer
dylib set by rpath is not loaded in OS X
I am making a package manager, and would like to ensure the packages use the correct dependent library by setting rpath option at compile time. But it surprised me in OS X (10.11), here is the problem:
$ otool -L…

Li Dong
- 1,088
- 2
- 16
- 27
0
votes
0 answers
iOS app rejected by Apple because of Realm Error
Using XCode 7.3, my app will not run on any device that is not run in Xcode. So I tried using Fabric and Crashlytics and I get no error messages back but the app will not run (crashes on launch)
I tried submitting to TestFlight and Apple rejected it…

user1745999
- 1
- 1
0
votes
0 answers
dyld fatal error when running on a device
When running my app on my external device, I get the following error:
0 dyld_fatal_error
Thread 1: EXC_BREAKPOINT (code=1, subcode=0x120049088)
Output:
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from:…

user4174219
- 427
- 5
- 13
0
votes
1 answer
OpenCV facemorpher 1.0.1 error: no image output, missing library?
I'm working on a project using openCV and Python to create average faces from an image database. I installed openCV 3.0.0, CMake, and all the python packages to use this
facemorpher 1.0.1 python package
I get this command line error when I run…

megara15
- 71
- 1
- 9
0
votes
1 answer
Mac OS X dynamic linker works sporadically
I have a program that links to a library "libao_optimization.dylib". When it runs, most of the time it's fine. But sporadically, I get the following error:
dyld: Library not loaded: libao_optimization.dylib
Referenced from:…

user2602914
- 301
- 3
- 11
0
votes
1 answer
Persistent dyld: Symbol not found in Xcode 7.2
I've been getting this error message as an exception
dyld: Symbol not found: __TWPO6Darwin9MachErrorSs16RawRepresentableS_
Referenced from:…

Fiodor
- 796
- 2
- 7
- 18
0
votes
0 answers
DYLD_LIBRARY_PATH doesn't show up in env?
I'm struggling to debug an issue with libraries failing to load. The obvious solution is to set the DYLD_LIBRARY_PATH to the directory that contains the libraries, however for some reason this solution doesn't seem to be taking. I do:
export…

alexgolec
- 26,898
- 33
- 107
- 159
0
votes
0 answers
load Dynamic libraries using rapth in mac
I was going through the following article but I was not able to understand it completely.
RunpathDependentLibraries
My situation is I have A.dylib which depends on B.dylib
A.dylib -> B.dylib
If I do System.loadLibrary(“A.dylib”) and it’s failing…

nantitv
- 3,539
- 4
- 38
- 61
0
votes
1 answer
Does Google Sign-in SDK iOS support iOS6?
My project must support iOS6.
I use Google Sign-In SDK v2.4.0.
But When I selected Target , the GoogleSignIn.framework (optional) in Xcode project and run on the iOS6 device, dyld log tells
dyld: Symbol not found:…

Juhyun Yun
- 25
- 5
0
votes
1 answer
DYLD: Incompatible library version for cmake
OS: Mac 10.11.1
When I tried to "cmake", I got the following error message
dyld: Library not loaded: /opt/local/lib/libexpat.1.dylib
Referenced from: /opt/local/bin/cmake
Reason: Incompatible library version: cmake requires version 8.0.0 or…

TTZ
- 823
- 2
- 9
- 19
0
votes
1 answer
Method to incorporate dyld directly into source code?
When I try to open a binary executable file, I get:
dyld: Library not loaded: /usr/local/lib/libpng16.16.dylib
After manually installing libpng with Homebrew, I next get a similar error (in the same dyld library):
dyld: Library not loaded:…

warship
- 2,924
- 6
- 39
- 65
0
votes
0 answers
Specifying path to a library for a unix executable, outside of the executable
I have downloaded an unix executable 'gtselect' used for analysing scientific data. This comes as part of a larger package of tools with installation instructions such that 'gtselect' can be called from the current working directory.
When I just run…

Tom
- 101
- 1
0
votes
1 answer
dyld symbol not found? _UIAccessibilityNotificationVoiceOverIdentifier
My App compile and work on an iPhone with iOS9 but failed with this issue on an iPhone with iOS8.4?
dyld: Symbol not found:
_UIAccessibilityNotificationVoiceOverIdentifier Referenced from:…

Hugues BR
- 2,238
- 1
- 20
- 26
0
votes
1 answer
iOS tools for debugging dynamic libraries
I am trying to understand how dynamic linking works on iOS 8 and would like to print the location of the resolved libraries when the app launches. Are there any tools for doing this? In crash reports when a dylib is not found there is some info…

FunnyItWorkedLastTime
- 3,225
- 1
- 22
- 20
0
votes
1 answer
App crashes with dyld when using private cocoapod
I'm trying to make a pod from a framework similar to how Google has done it using GoogleMaps where there is a Frameworks folder and a Resource folder, under Pods/AboutUI where my framework is called AboutUI. I have managed to do it using the podspec…

yellokrow
- 1
- 1
- 3