dylib Questions

2

I'm using this answer to create a module map to create a module for CommonCrypto so I can use it in a framework. Doing this however means that any projects that I use this framework in have access...
Lathrope asked 14/12, 2015 at 11:1

6

Solved

I am building an iOS app using PJSIP library with H264 support. When building H264, I get 1 .a file and 2 .dylib files. I tried to use the .dylibs in my project by adding as "Embedded Libraries" an...
Mcgrath asked 9/2, 2018 at 8:28

2

I want to make a command-line tool with a few bundled frameworks that it needs (SDL and related libs). I have Xcode set to "Embed & Sign" these frameworks, and this results in them be...
Hereunder asked 30/7, 2021 at 20:34

42

Solved

When trying to run an executable I've been sent in Mac OS X, I get the following error dyld: Library not loaded: libboost_atomic.dylib Referenced from: /Users/"Directory my executable is in" Rea...
Mourner asked 17/7, 2013 at 15:8

4

Solved

Xcode 7 In Target > BuildPhases > Link Binary With Libraries > tap + button When choosing frameworks to add, you cannot find *.dylib, you'll see *.tbd instead. What is the reason for this? **F...
Console asked 16/7, 2015 at 9:42

3

I am trying to load a library(say ArithmeticOprn.dylib) dynamically and call the methods presented within that library. Please refer to the sample code snippet from below, [DllImport("libdl.dylib"...
Greensward asked 23/11, 2018 at 11:54

2

Solved

I'm trying to build a .dylib in Xcode. Currently the .dylib builds, but when I drag the .dylib into another project and try to #import one of the headers (Seeker.h) in the .dylib, I get this error:...
Horning asked 17/10, 2010 at 20:58

2

Solved

When I build my simple menubar cocoa application written in Swift 4 with Xcode 9, a lot of libswift*.dylib libraries are linked/downloaded/embedded into .app bundle,into Frameworks folder as seen b...
Smithson asked 27/8, 2018 at 22:19

15

Solved

When using an embedded framework (dyld) in Xcode 6.0.1 with deployment target less that iOS 8 I get: Build is successful Runtime library loading error Error: dyld: Library not loaded: @rpath/O...
Enjoy asked 18/9, 2014 at 10:11

3

I just installed the new update on OSX because it kept popping up. Of course, it broke something. I can't access my R anymore. Took me forever to get my environment set up. I have all of my R pac...
Mockup asked 17/10, 2017 at 23:44

3

Solved

I'm trying to do something pretty simple and typical, which is use dynamically linked libraries in my Xcode project and then deploy with all the necessary libraries embedded. However I must be doi...
Hypertonic asked 3/2, 2017 at 11:12

1

I have a C++ library in my hands that needs to be compiled in a form of .dylib for iOS. I have used iOS-cmake and that tool has built a library and created Xcode solution where I can find the libra...
Harlamert asked 18/5, 2021 at 7:32

14

Solved

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...
Zeb asked 7/9, 2012 at 18:8

1

Solved

On macOS, a dylib has a compatibility version and a current version as metadata, each having a form of x.y.z.. otool -L can display these. How and when are these versions used by the system, or by ...
Blasphemy asked 12/4, 2021 at 9:16

1

I wrote C program that calculates the time step iterations of wavefunctions to solve the time depended Schrödinger equation. At some step I need to do forward and backward Fast Fourier Transformati...
Navigable asked 18/2, 2021 at 22:3

3

Solved

I have software that first loads a .dylib lets call libFirst.dylib using the following command: void* handle = dlopen(path.c_str(), RTLD_LAZY | RTLD_GLOBAL); Later on inside a function from the ...
Antiquated asked 15/7, 2011 at 18:58

1

Solved

I am wondering if anyone knows where the real MacOS framework binaries are located? The traditional answer would be /System/Library/Frameworks and /System/Library/PrivateFrameworks. Yes, there is s...
Inspector asked 24/10, 2020 at 10:59

1

Solved

I am using Xcode 12, iOS 14, everything builds correctly, but when I am installed on the device and about to run, I get a message saying "dylib: Library not loaded:" dyld: Library not loa...
Paleozoology asked 20/9, 2020 at 8:52

0

I have a libhadoopzstd.dylib that is part of a JNI Hadoop ZSTD implementation. libhadoopzstd.dylib contains dlopen calls to a second dylib - libzstd.1.dylib - assumed to be available locally. Every...
Teammate asked 22/8, 2020 at 8:46

3

Solved

Are dynamic libraries supported on iOS (iPhone/iPad)? In Xcode, I tried to create a New project -> Framework & Library -> Cocoa Library (dynamic). In the project settings, I set the Base SDK ...
Denizen asked 19/1, 2011 at 9:56

8

Solved

I've looked at a bunch of answers here and none have fixed my issue. I have an Xcode workspace with a custom framework and an iOS app project. The project has been working fine until this morning...
Trilingual asked 24/11, 2014 at 23:50

1

I'm facing the issue with distributing compiled swift framework. My framework heavily relies on the libxml2 dynamic library. In order to avoid issues with Swift module compatibility, I've set build...
Intricacy asked 17/12, 2019 at 13:33

1

I have 60k lines of pascal code (don't ask :-) ). Compiled a dylib for armv7 and aarch64 with free pascal. It works on device but can not upload it to appstore in case of Invalid Swift Support -...
Triturate asked 2/9, 2019 at 10:22

1

Solved

I've developing a software package that needs to install a dylib somewhere globally accessible by all user accounts. I'm not actually sure where the best place to put it is. Ordinarily I would thi...
Romalda asked 2/8, 2019 at 0:12

1

Solved

I have two plugins pluginA.plugin and pluginB.plugin which are both depend on same library libC.dylib. When plugins are built, I recursively go over dynamic dependencies (use otool -L), copy all de...
Mcdaniel asked 18/7, 2019 at 22:47

© 2022 - 2025 — McMap. All rights reserved.