dynamic-linking Questions

1

Solved

I have a third party OS X dylib that I'm using in my app and don't have easy access to its creator. I'd like to determine if it was linked with -flat_namespace. Is that possible? If so, how?
Sophistic asked 31/3, 2010 at 13:59

3

Solved

What is the easiest and safest way to call a function from a shared library / dll? I am mostly interested in doing this on linux, but it would be better if there were a platform-independent way. C...
Fidelafidelas asked 29/3, 2010 at 13:15

2

Solved

I have a shared library that is linked with another (third-party) shared library. My shared library is then loaded using dlopen in my application. All this works fine (assuming files are in the pro...
Discrimination asked 1/3, 2010 at 13:46

1

Solved

To see what memory map regions a running program contains, I write a simple C program to read data from /proc/self/maps: #include <stdio.h> #include <stdlib.h> #include <sys/stat.h&...
Chamblee asked 20/1, 2010 at 13:39

4

Solved

I am going to start a new C++ project that will rely on a series of libraries, including part of the Boost libraries, the log4cxx or the google logging library - and as the project evolves other on...
Playback asked 19/1, 2010 at 17:12

2

Solved

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...
Pluralism asked 6/12, 2009 at 4:10

2

Solved

How to I find the filename of a library via the library name? In otherwords, when I use "-lc", I know it is /lib/libc.so.6 (or something similar.) I want to be able to type some command where "-lc...
Integration asked 23/10, 2009 at 17:10

1

Solved

From the documentation's description, they seem to do the same thing except that "not all systems" support shared and "only some systems" support symbolic (it's unclear if these are the same set of...
Bracy asked 19/10, 2009 at 14:15

1

Solved

I am trying the google performance tool for CPU time profiling. However, I had encountered some problem that I cannot read the shared library file "libprofiler.so.0" I had read the README of googl...

1

Solved

I've built a test ELF program using the LSB SDK (note that my question is not specific to LSB): $ /opt/lsb/bin/lsbcc tst.c $ ls -l a.out -rwxr-xr-x 1 math math 10791 2009-10-13 20:13 a.out $ file...
Extortion asked 13/10, 2009 at 18:26

3

Solved

I have a program (specifically my entry for the SO DevDays Countdown app challenge) which relies on several dynamic libraries, namely libSDL, libSDL_ttf, and others. I have these libraries installe...
Cambrai asked 27/9, 2009 at 2:54

2

Solved

I would like to implement a Plug-In framework for a C# application; such that the application doesn’t need to know of all of the available .DLL’s at time of compilation but can then be dynamically ...
Lass asked 28/8, 2009 at 10:38

2

Solved

Is it possible to substitute system functions, as is possible on Linux and Solaris using the LD_PRELOAD For example by setting the environment variable: LD_PRELOAD=/path/to/mymalloc.so I would ha...
Pekingese asked 31/7, 2009 at 3:25

1

Solved

Is there a way to exclude a folder that is located under a dynamic link in InstallShield? So I have a dynamic link that starts at PATH A, and the following is a small example directory structure: ...
Angellaangelle asked 16/7, 2009 at 18:58

3

Solved

Over the months I've written some nice generic enough functionality that I want to build as a library and link dynamically against rather than importing 50-odd header/source files. The project is ...
Bink asked 29/5, 2009 at 16:59

5

Let's say we got a main executable called "my_app" and it uses several other libraries: 3 libraries are linked statically, and other 3 are linked dynamically. In which order should they be linked a...

2

Solved

I've been trying to build a simple prototype application in Django, and am reaching the point of giving up, sadly, as it's just too complicated (I know it would be worth it in the long-run, but I r...
Freiman asked 18/11, 2008 at 19:51

2

I have an executable on Linux that loads libfoo.so.1 (that's a SONAME) as one of its dependencies (via another shared library). It also links to another system library, which, in turn, links to a s...
Addressee asked 23/10, 2008 at 0:59

© 2022 - 2024 — McMap. All rights reserved.