Questions tagged [dyld]

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.

465 questions
48
votes
7 answers

dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid

since an update to 10.8 I get the following error, when trying to do a sudo command, which is pretty annoying. dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid What does that have to mean?…
eneskaya
  • 918
  • 1
  • 10
  • 17
47
votes
1 answer

How to set the runtime path (-rpath) of an executable with gcc under Mac OSX?

I want to set under Mac OSX the runtime path of an executable (for the linker) at compile time, such that shared libraries at non-standard locations are found by the dynamic linker at program start. Under Linux this is possible with -Xlinker -rpath…
maxschlepzig
  • 35,645
  • 14
  • 145
  • 182
44
votes
2 answers

Fresh Installs of RVM and Ruby 2.1.1 - dyld library/pathing error

I have been trying to install RVM and Ruby 2.1.1 onto my new Mac (OS 10.9.2), and everything seems to be going well until I try to install any version of Ruby. My input $ rvm reinstall 2.1 So far so good... ruby-2.1.1 - #removing…
Dylan
  • 1,026
  • 1
  • 10
  • 20
43
votes
16 answers

Xcode 5.0.2 dyld: Library not loaded: @rpath/XCTest.framework/Versions/A/XCTest

I have problems running a project in Xcode 5.0.2 I get the following error: dyld: Library not loaded: @rpath/XCTest.framework/Versions/A/XCTest Referenced from:…
user637338
  • 2,565
  • 1
  • 25
  • 26
42
votes
9 answers

How to run an iOS app that causes runtime error for frameworks "code signature invalid"

Every time I try to run this application it builds OK and installs, but as soon as it runs, the application breaks and prints this error message: dyld: Library not loaded: @rpath/StandardCyborgFusion.framework/StandardCyborgFusion Referenced from:…
Aidan Rosswood
  • 1,212
  • 1
  • 10
  • 21
42
votes
14 answers

Brew doctor: dyld: Library not loaded & Error: No available formula for zlib

When I brew doctor I get the following errors: dyld: Library not loaded: /usr/lib/libltdl.7.dylib Referenced from: /usr/local/bin/php Reason: image not found Error: No available formula for zlib The file libltdl.7.dylib is not in my /usr/lib…
Ryan
  • 6,027
  • 16
  • 52
  • 89
39
votes
8 answers

Homebrew will not run wget command (Library not loaded)

I received the following message when I try to use wget command after installation on Homebrew (running Mac High Sierra 10.13). dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib Referenced from: /usr/local/bin/wget Reason:…
Deadface07
  • 399
  • 1
  • 3
  • 5
39
votes
3 answers

dyld: Library not loaded different behavior for 6.0 simulator/6.0 device

My app runs fine on the iPhone 6.0 Simulator in Xcode, but when I try to run it on my 6.0 device, I get the following fatal error: dyld: Library not loaded: /System/Library/Frameworks/AdSupport.framework/AdSupport Referenced from:…
Jeff Grimes
  • 2,300
  • 1
  • 23
  • 23
34
votes
6 answers

Ruby -v dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib

I've been trying to run a script in the terminal and every time I do I get: $ ruby directory.rb dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib Referenced from: /Users/claretrembath/.rvm/rubies/ruby-2.1.3/bin/ruby Reason: image not…
czzt
  • 341
  • 1
  • 3
  • 3
28
votes
7 answers

Xcode10 - dyld: Library not loaded for pod installed in framework

I have a project with target frameworks. MainAppTarget FrameworkA FrameworkA is the only one to use a certain pod, hence in my pod file I have something like target 'MainAppTarget' do ... end target 'FrameworkA' do pod 'PodA' end the…
Giuseppe Lanza
  • 3,519
  • 1
  • 18
  • 40
27
votes
2 answers

Unable to run Swift Package Manager (macOS 10.14.4)

When I try 'swift package' in a terminal window, the following is displayed: dyld: Library not loaded: @rpath/llbuild.framework/Versions/A/llbuild Referenced from: /Library/Developer/CommandLineTools/usr/bin/swift-package Reason: image not…
ToddX61
  • 683
  • 6
  • 12
25
votes
9 answers

php dyld: Library not loaded for libldap

I installed ruby on my Mac OSX High Sierra and am running into issues now with my php installation for some reason. I'm on php 7.1. Following this (also here) Github suggestion, I tried brew update && brew reinstall php71 While installing, it broke…
user3871
  • 12,432
  • 33
  • 128
  • 268
22
votes
5 answers

dyld: Symbol not found: __cg_jpeg_resync_to_restart

I'm trying to run a java version of PowerLoom, but when I try to start it in the terminal, I get the following error message: dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from:…
LeahNH
  • 535
  • 1
  • 4
  • 12
22
votes
9 answers

Xcode 7.0 XCTest dyld: could not load inserted library IDEBundleInjection

I'm running unit tests on my iOS project and when it's running, it crashes and spits this out: dyld: could not load inserted library…
FireDragonMule
  • 1,347
  • 2
  • 16
  • 27
22
votes
2 answers

What path does @loader_path resolve to?

I'm having a hard time understanding the absolute path that a @loader_path within a file refers to. user@local:~$ otool -L zlib.so zlib.so: @loader_path/../../libz.1.dylib (compatibility version 1.0.0, current version 1.2.7) …
ChrisB
  • 4,628
  • 7
  • 29
  • 41
1
2
3
30 31