Menu
  • HOME
  • TAGS

Call Rmath via Ctypes from Ocaml on OS X

r,osx,ocaml,dylib

In order to use external library you still need to link. There're at least two different ways, either link using compiler, or link even more dynamically using dlopen. For the first method use the following command (as an initial approximation): ocamlbuild -pkg ctypes.foreign -lflags -cclib,-lRmath yourapp.native under premise that your...

Matplotlib error: libfreetype.6.dylib

python,matplotlib,dylib,freetype

Fixed it... sort of. Fixed it. I uninstalled with brew uninstall matplotlib and then installed with pip install matplotlib. The pip version now works. although I think something is wrong with my code because I don't get an image output. I uninstalled all of my installations of python and...

How does macosx determine which dylib to load?

osx,apache,macports,osx-yosemite,dylib

This happens when the environment contains DYLD_LIBRARY_PATH=/usr/lib. Unset that and it should work. Libraries are referenced using absolute paths on OS X. You correctly noticed /opt/local/apache2/modules/mod_php53.so references /opt/local/lib/libaprutil-1.0.dylib using its absolute path. However, in the presence of DYLD_LIBRARY_PATH the loader ignores the directory components and searches for the filename in...

Swig Fatal Python error: PyThreadState_Get: no current thread Abort trap: 6 with Python 2.7.5

python,swig,dylib

My python interpreter is the version 2.7.5 and when I executed the command line /usr/bin/python, it launched the version 2.7.2 this is why I had a problem. I found the solution reading this article: http://wolfpaulus.com/jounal/mac/installing_python_osx/...

Reliable Deployment of Delphi-Generated Dylib on OSX

osx,delphi,deployment,dylib,rpath

The install_name_tool seems to require that certain parts of the dylib are in a certain order like "local relocation entries" then "symbol table", "local symbols", ... The error message means that this order is not as expected. My suggestion is that you try to patch the dylib file. I do...

Packaging of JCUDA 0.6.0 on Mac OSX 10.9.3

java,osx,jar,dylib,jcuda

Just to have this answered here as well: The native libraries can not be packed directly into a JAR (or rather: They can currently not be loaded if they are only contained in the JAR). Although the infrastructure of the JCuda LibUtils class basically offers the possibility to do this,...

How to stop Scons adding lib infront of a shared library

c++,osx,dll,scons,dylib

In each environment, SCons uses variables to specify the prefixes and suffixes of things like libraries and programs. These variables get initialized, based on the detected platform that it's currently running on...but you can simply overwrite this setting after the call of the Environment() constructor: env = Environment() env['SHLIBPREFIX'] =...

Shared library update

dll,linker,dylib,shared-libraries

Generally speaking, you can replace a shared library with an other version of the shared library in distribution (without recompilation of the executable, etc.) in case the original library and the replaced library do have same ABI...

Beginner Software RE help, RAM Addresses, library loading, where to start?

unix,reverse-engineering,code-injection,ram,dylib

Before you get started with reverse engeneering you'll need more than a theoretical knowledge of the C language. Forget C++ for now, C is simpler and it's so low level that once you master it you'll understand how programs work under the hood. Get you a copy of The C...

Statically link OpenSSL in XCode

xcode,openssl,static-linking,dylib

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 -rpath and -Bstatic. They even do it on iOS, where dylib's are not allowed!...

xcode copy dylib into bundle with lazy loading

c++,c,xcode,lazy-loading,dylib

I solved it by making the dylib project a subproject (just drag and drop it) of the cocoa app. Then you can add a copy on bundling target.

dyld: Library not loaded. Reason : no suitable image found

xcode,cocoa,frameworks,dylib

I came across this issue today and resolved it the same way. Revoke and regenerate code signing solves this issue. But to shed some light on the "why" part of it. Apple went ahead and changed the certificate contents. To be more precise, it added a new "OU" field. By...

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

ios,objective-c,reverse-engineering,jailbreak,dylib

You're right about Entitlements.plist. Problem is very simple - MobileCal.app is using custom sandbox profile. There are actually many sandbox profiles in iOS, not just for AppStore apps. Many iOS system components use them. To know which one you need to look at the app's entitlements. More specifically, seatbelt-profiles key....

Are iOS 8 apps with embedded dylibs allowed on the App Store?

c++,ios,qt,app-store,dylib

It seems that there is still the limit that only statically linked ios applications are allowed on App store. You can read in the App Store Review Guidelines : 2.7 Apps that download code in any way or form will be rejected 2.8 Apps that install or launch other executable...