The concern is guaranteeing compatibility with the Sqlite Header file compiled into the iPhone app. What if the header file used at compile time is from a newer version then the dynamic library installed on the iPhone? This could be due to the app running on an older or newer iPhone OS version then the app was built with. Is it safe to u...
I'm trying to create a 'debug' shared library (i.e., .so or .dll file) that calls another 'real' shared library that has the same C API as the debug library (in this case, to emulate the PKCS#11 API). However, I'm running into trouble where the link map of the debug library is colliding with that of the real library and causing the debu...
Has anyone found a fix for this?
I read that it has something to do with new dylib format in Snow Leopard...
(This is the lib I get back from MacPorts.)
Thanks,
rui
...
Hi, I want to create a plain BSD library in Mac OS X which provides a plan C wrapper for Objective-C bases system APIs (like the CoreLocation API).
Although I've written and gotten this to compile, it won't load from DLOpen in other programs. I used the "Cocoa library" project type, because when I used the normal "BSD Library" project t...
Hi all,
This appears similar to an earlier post: http://stackoverflow.com/questions/335928/linux-gcc-linking-ld-cannot-find-a-library-that-exists But to the best of my knowledge, it's not exactly the same situation. The following command works:
$g++ -I../../include/ -lboost_program_options-mt rips-zigzag.cpp
However this doesn't:
$...
I am running Linux, and I would like to be able to make parallel function calls into a shared library (.so) which is unfortunately not threadsafe (I am guessing it has global datastructures).
For performance reasons, I do not want to simply wrap the function calls in a mutex.
What I would like to do is to spawn, say 4 threads, and also...
I have a shared library "libwiston.so". I am using this to create another shared library called "libAnimation.so", which will be used by another project. Now, the second library "libAnimation.so" can't be used in test code correctly. So I doubt that the creation of the second lib "libAnimation.so" is right. The gcc command to create this...
Is it possible to create a Shared Library (.so) using Go?
UPDATED: created an "issue" for it.
...
I've got some .so libraries that I'd like to combine into one shared library so that it doesn't depend on the original .so files anymore.
The .so files have dependencies to each other.
How can I do this? Can I do this?
...
The more I've learned about Python, The more I've heard about several external libraries that are available, and I was wondering what are some of your favorite python libraries that are availible.
A few of my favorites I've discovered:
Beautiful Soup - for scraping web sites
PyGame - for game development
MySQLdb - for interacting with...
I've been integrating simple java modules into the MATLAB environment on Windows with some success. Recently I encountered a problem with a third-party library which attempts to load a dll.
The java ClassLoader throws the UnsatisfiedLinkError when the load is attempted:
java.lang.UnsatisfiedLinkError: no <libname> in java.library.path
...
I have compiled a shared library on my Ubuntu 9.10 desktop. I want to send the shared lib to a co-developer who has a Red Hat Enterprise 5 box.
Can he use my shared lib on his machine?
...
I have a shared library(.so) that I preload before executing an application and I have a few global data structures in the shared library that the application uses. The application can create other processes say using fork() and these processes can update the global data structures in the shared library. I would like to keep a consistent...
Hi,
I have an application that is broken into several libraries for purposes of code reuse. On Windows all I have to do is put the .dll files in the same path as the executable and it automatically finds them. On Linux (since it hardcodes the paths to things) I have to specify the environmental variable LD_LIBRARY_PATH or preload the ...
Hey guys,
So I'm quite new to C++, I've basically been coding it all semester for a class. For our final project, we made an email client in C++ with .NET, and to do all the email sending and receiving, we went with using the POCO email client.
Now, basically in order to use the POCO library, I've compiled it and done a number of thing...
Probably this is a common question. In fact I think I asked it years ago... but I can't remember the answer.
The problem is: I have a project that is composed of 6 source files. All of them no more than 200 lines of code. It uses many STL containers, stdlib.h and iostream. Now the executable is around 800kb in size.... I guess I shouldn...
Hi,
I have a cross platform C++ application that is broken into several shared libraries and loads additional functionality from plugin shared libraries. The plugin libraries are supposed to be self contained and function by themselves, without knowledge of or dependency on the calling application.
One of the plugins contains copied...
I want to create a shared library that uses functions from a 3rd-party static library. For example, foo and bar from libfoobar.a. I know that my main application is also using foo and will be exporting that symbol. So I simply want to link in bar to save code size and leave 'foo' unresolved (as it will be provided by main application). I...
We're developing an application that will have a plug-in "architecture" to allow consumers of the app to provide their own proprietary algorithms. (We will basically have a set of parsers and allow third parties to provide their own as well)
The domain space requires very high performance, so out-of-process bindings are not going to wo...
I have a gcc-compiled application linked against dynamic libraries. Is there a way to impose the order in which libraries are loaded? (In my case one library constructor uses resources set up by other library constructor).
Thanks.
...