dylib

Xcode 7.3 missing Private Frameworks

纵然是瞬间 提交于 2019-12-06 01:08:11
I recently upgraded my Xcode to version 7.3. When I compile my exisiting project I get this error message: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/PrivateFrameworks' As per this post , private frameworks have been removed with Xcode 7.3. Any suggestions as to potential solutions? According to the Xcode 7.3 release notes : The Apple private frameworks have been removed from the iOS, watchOS, and tvOS SDKs. If your application fails to link, make sure that you are not using any private

Embed dylib in Xamarin.Mac binding dll

做~自己de王妃 提交于 2019-12-05 22:11:51
问题 I'm creating bindings for Xamarin.Mac / MonoMac . I'd like to embed the dylib in the generated dll like it's done on Xamarin.iOS with the [LinkWith] attribute. Is it possible to do that ? if so how ? Or should I load the dylib from the consuming application ? again in this case, how ? I tried: - dropping the dylib in the Native References folder (doesn't work) - adding a [assembly: MonoMac.RequiredFramework] attribute (doesn't find the dylib ) 回答1: I managed to load the .dylib from the

How does Mac OSX determine which dylib to load?

烂漫一生 提交于 2019-12-05 16:19:30
I'm trying to run Apache in Mac OSX Yosemite using MacPorts' PHP (mod_php53.so). Note that I'm not using MacPorts' Apache but Yosemite's Apache with MacPorts' PHP. This was working fine with OSX Mavericks and Mountain Lion in the past. I get this error when running /usr/sbin/apachectl -t in Yosemite: httpd: Syntax error on line 228 of /private/etc/apache2/httpd.conf: Cannot load /opt/local/apache2/modules/mod_php53.so into server: dlopen(/opt/local/apache2/modules/mod_php53.so, 10): Library not loaded: /opt/local/lib/libaprutil-1.0.dylib\n Referenced from: /opt/local/apache2/modules/mod_php53

Statically link OpenSSL in XCode

混江龙づ霸主 提交于 2019-12-05 12:01:16
I am trying to link libssl.a and libcrypto.a static libraries in XCode command line project [under Link Binary With Libraries]. I have included Openssl header files in search path. Compilation succeeds but execution fails with dyld: Library not loaded: /usr/local/ssl/lib/libcrypto.1.0.0.dylib . Why does it look for dylib when I am linking it statically? How can this be fixed? Any help would be appreciable. jww Why does it look for dylib when I am linking it statically? How can this be fixed? Apple's linker uses the dylib or share object if its available, regardless of of your linker flags like

“No such function: REGEXP” in sqlite3 on iOS

纵饮孤独 提交于 2019-12-05 10:07:30
Is it possible to rebuild libsqlite3.dylib with the regexp function added? Or use create_sqlite_function to do it? milgner As the SQLite documentation says: If a application-defined SQL function named "regexp" is added at run-time, that function will be called in order to implement the REGEXP operator. so you should be able to use create_sqlite_function like you already suggested yourself. create a regex function and then create sqlite function in your run time and pass the address of regex function and db instance in create sqlite function and enjoy querying regex in runtime to sqlite. I have

Qt application throws “dyld: Symbol not found: __cg_jpeg_resync_to_restart”

不打扰是莪最后的温柔 提交于 2019-12-05 09:39:42
I get well known dyld issue on OS X. Qt.pro file: INCLUDEPATH += /usr/local/Cellar/libpng/1.6.23/include /usr/local/Cellar/jpeg/8d/include LIBS += -L/usr/local/Cellar/libpng/1.6.23/lib -L/usr/local/Cellar/jpeg/8d/lib -ljpeg -lpng -ljpeg -lz In runtime my application throws: dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib Expected in: /usr/local/Cellar/jpeg/8d/lib/libjpeg.8.dylib in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib I already got this before and I

Reliable Deployment of Delphi-Generated Dylib on OSX

冷暖自知 提交于 2019-12-05 08:05:32
I would like to deploy a .dylib on OSX, which has been created with Delphi. This .dylib should be loadable by third-party applications . This is going to seem like a duplicate question, but after plenty of searching, I can't find an answer for it. It's the same issue as this: https://forums.embarcadero.com/thread.jspa?messageID=592417 The problem is that the .dylib requires libcgunwind.1.0.dylib , but that it cannot find it when being run from a third-party application . As a test, I tried copying libcgunwind.1.0.dylib into usr/lib , and that worked. When OSX cannot locate the .dylib, it will

Including custom dll and dylib in MonoMac app

℡╲_俬逩灬. 提交于 2019-12-05 05:51:27
Background: My MonoMac app uses a custom build of sqlite3.0.8.6.dylib. I need the exact steps to have MyApp.app use this dylib. Here are some steps I took: Copied the dylib to MyApp.app/Contents/SharedSupport. (Related question: is this the preferred location for 3rd party dylibs or is MyApp.app/Contents/Frameworks preferred?) Changed the installed name for the library so that it matches its new location. MyApp.app/Contents/SharedSupport> otool -L libsqlite3.0.8.6.dylib libsqlite3.0.8.6.dylib: @executable_path/../SharedSupport/libsqlite3.0.8.6.dylib (compatibility version 9.0.0, current

git command-line on Mac OS error “dyld: Symbol not found: ___strlcpy_chk”

妖精的绣舞 提交于 2019-12-05 03:59:35
I installed git on Mac os, when i try to create a new repository with git init , i get this error : dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk Referenced from: /usr/local/git/bin/git Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: ___strlcpy_chk Referenced from: /usr/local/git/bin/git Expected in: /usr/lib/libSystem.B.dylib Trace/BPT trap: 5 NB: I don't have Xcode installed. you can consider my solution: Open XCode(Install one if you didn't install it.), and press "COMMAND + ,". Click "Download". Find "command line tool", download and install it.Then

Cannot bind() a socket inside Apple Calendar (dylib injection)

安稳与你 提交于 2019-12-05 03:44:28
问题 I’m trying to inspect iOS 8.1's Apple Calendar ( MobileCal.app ) on Reveal following this guide. For that, I’m injecting libReveal.dylib which launches its own HTTP server to which the OS X Reveal app connects to. This technique works fine with most of iOS system apps (Phone, Notes, Reminders, etc.) but something in Calendar is preventing the HTTP server from being set up. When Calendar is run, libReveal.dylib is properly injected, but then I see this on the log: MobileCal[5110] : ERROR: