dyld Questions
1
I am using Python 2.7 and am trying to import graph_tool, and it seems that my libboost_thread-mt.dylib is located in /opt/local/lib rather than /usr/local/lib.
If I start an X11 terminal and typ...
Fraternal asked 25/7, 2014 at 19:39
1
Solved
I having below log error after compile with latest Xcode6 Beta4 version. However there is not problem with Xcode6 Beta3. I have not idea on what the error message is about. I'm new to xcode. Please...
3
Solved
I used the bundled Property List Editor of Mac OS X Developer Tools to set an environment variable DYLD_LIBRARY_PATH_64-bit to the value path/to/dylib in the file ~/.MacOSX/environment.plist. I sav...
Altheta asked 2/9, 2010 at 5:37
13
Solved
[edit] I was troubleshooting problems with my development environment when I noticed one of my problems was the dependency on ImageMagick, since it's a vital part of my app.
After upgrading to O...
Cyclopean asked 14/9, 2011 at 6:36
2
Solved
I've got probably what is a simple problem, but there's no informative errors or warnings during compile to alert me to what is going wrong.
I've got a Objective-C++ app that includes a C++ main a...
Aldwon asked 8/4, 2010 at 14:48
2
Solved
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 f...
1
Solved
I need to find the offset of a local symbol in a shared library on OS X. Local symbol as in non-exported symbol. Therefore dyld("symbol_name") will not work.
I can however use nm to find these off...
Yan asked 3/7, 2013 at 10:46
1
Solved
I want to write my own malloc/free functions with debug purposes, documentation says I have to use DYLD_FORCE_FLAT_NAMESPACE together with DYLD_INSERT_LIBRARIES. But at the same time libgmalloc art...
1
I have a really odd situation with dynamic symbol binding on OS X that I'm hoping to get some clues on how to resolve.
I have an application, written in C, which uses dlopen() to dynamically load ...
2
I tried to override network socket related function in Mail app. But I'm not sure if Mail app uses Core foundation socket or POSIX socket.
I use otool -l to find dynamic loaded library in LC_LOAD_...
1
So, we all know that Mountain Lion doesn't ship with X11 anymore and users needing X11 are directed to download Xquartz. Xquartz installs to /opt, but it also symlinks X11 and X11R6 to /usr. But wh...
Udell asked 28/7, 2012 at 6:1
1
I'm working with Xcode 4.5 with a deployment target of iOS 5.1
I'm getting the following warning when I compile my app in relation to two specific methods which have significantly increased in size...
Porphyry asked 25/12, 2012 at 7:26
2
I have a library: libfoo.dylib. The problem is illustrated in the commands:
$ install_name_tool -id "@rpath/libfoo.dylib" libfoo.dylib
$ install_name_tool -add_rpath "@executable_path/" libfoo.dyl...
1
I notice that DYLD_INSERT_LIBRARIES no longer works in Mountion Lion if the application is codesigned with entitlements. For example:
DYLD_INSERT_LIBRARIES=./mylib.dylib /Applications/Safari.app/C...
1
1
Solved
I've searched quite a bit, and the closest thing I found to this same question was this (also unanswered) question:
Symbol not found: _libintl_gettext
I'm attempting to make a thin c++ wrapper fo...
2
Solved
Does anyone know what the format of the data pointed to by the Mach-O LC_FUNCTION_STARTS command is?
The most information I could find is in the loader.h header file:
#define LC_FUNCTION_STARTS 0...
1
I writed a dynamic library that loaded into some target applications by setting environment variable named DYLD_INSERT_LIBRARIES, the dylib load and works fine when application executed from termin...
Coraliecoraline asked 10/5, 2012 at 13:31
1
Solved
When I have tried to build my target I get this error with dynamic linker:
dyld: Library not loaded: @rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient
I use thi...
2
Solved
Is it possible to share executable pages on Linux for the sake of preserving space? I know that there are shared memory APIs that can be used to share memory between different processes but I don't...
Thrash asked 11/4, 2012 at 0:52
0
I am profiling my source. I see some allocations that are still alive at exit when I run valgrind.
Here is the summary:
$ valgrind --track-origins=yes --show-reachable=yes --leak-check=full $BINAR...
Nolde asked 11/4, 2012 at 11:40
1
After some careful debugging, I have discovered a bug in my application that is rooted in the system frameworks loading a buggy Apple bundle:
/System/Library/CoreServices/MLTEFile.bundle
I am co...
2
Solved
I am trying to build the open source DYLD, published by Apple here:
http://www.opensource.apple.com/source/dyld/dyld-97.1/
I copied down every single file and tried building the XCode project, bu...
Galvan asked 15/2, 2012 at 13:36
2
Solved
On Mac OS X, binary executables in the DYLD format contain "loader commands" that instruct the library loading system how to handle the contents of the file. In particular, the loader command instr...
2
Solved
I am using setenv to set DYLD_LIBRARY_PATH so when I do a dlopen() it will have the correct paths to find my .dylib, but when I do the dlopen() it doesn't seem to search the paths that I added to D...
Postboy asked 15/7, 2011 at 22:9
© 2022 - 2024 — McMap. All rights reserved.