dynamic-linking Questions
4
Solved
I think I'm missing something really stupid here.
I have libcppunit installed: (I'm using Ubuntu 12.04)
$ apt-cache policy libcppunit-dev
libcppunit-dev:
Installed: 1.12.1-4
Candidate: 1.12.1...
Dogged asked 19/4, 2012 at 3:0
0
Basically I know we can use this to create a static linked exe on windows 32 bit:
nasm -fwin32 test.s
cl.exe test.obj /link libcmt.lib
But how to create a dynamic-linked exe from the obj file na...
Bergin asked 9/1, 2014 at 1:59
2
Solved
In my attempt to get "Steam for Linux" working on Debian, I've run into an issue. libcef (Chromium Embedded Framework) works fine with GLIBC_2.13 (which eglibc on Debian testing can provide), but r...
Gershom asked 14/2, 2013 at 16:36
2
Solved
It feels strange to me to use -Wl,-Bstatic in order to tell gcc which libraries I want to link with statically. After all I'm telling gcc directly all other information about linking with libraries...
Holophrastic asked 5/7, 2011 at 6:3
1
Solved
I need to use an alternate glibc version, newer than the one installed on my system (2.18 vs 2.15). Several related issues are covered
here and here. The specific question I'm asking here is the fo...
Shaffert asked 13/12, 2013 at 23:18
2
Solved
I have a project "Logger" wherein the configuration type is .dll.
"Logger" uses "libconfig" (an open source config parser). Currently, I have a separate project for "libconfig" and its configurati...
Penoyer asked 27/9, 2013 at 1:46
4
Solved
I'm used to thinking of all initialization of globals/static-class-members as happening before the first line of main(). But I recently read somewhere that the standard allows initialization to hap...
Pringle asked 6/8, 2009 at 14:26
1
The blog article "LD_LIBRARY_PATH – or: How to get yourself into trouble!" by the DTU Computing Center states:
3. Inconsistency: This is the most common problem. LD_LIBRARY_PATH forces an applic...
Mingmingche asked 13/8, 2013 at 10:12
2
Solved
gperftools documentation says that libprofiler should be linked into a target program:
$ gcc myprogram.c -lprofiler
(without changing a code of the program).
And then program should be run with...
Calculable asked 29/11, 2012 at 6:19
1
Solved
I'm really trying to understand the steps from high level code -> executable.. but am having some difficulties.
I've written an empty int main() {} C file and am trying to decipher the disassembl...
Scales asked 6/6, 2013 at 19:10
2
Solved
I need to dynamically link to a library function at runtime in Mac OS X. Following Apple's example, I declare a function pointer and assign it with the result of dlsym(). The following example comp...
Vitiate asked 31/5, 2013 at 18:25
2
Solved
Alright, I have a really troubling CUDA 5.0 question about how to link things properly. I'd be really grateful for any assistance!
Using the separable compilation features of CUDA 5.0, I generated...
Sapers asked 29/4, 2013 at 22:10
1
Solved
Our company uses CMake currently to build our executables for Windows. I'm working on making our application work on Mac. So far the application builds fine on the Mac. However, when I try to open ...
Janes asked 16/4, 2013 at 19:53
1
Solved
I have a llvm module that i've dumped as bitcode file with llvm::WriteBitcodeToFile. I want to turn this bitcode file into an native dynamically loadable library that contains the functions in the ...
Chelsiechelsy asked 13/4, 2013 at 7:0
6
Solved
How one can achieve late binding in C language ?
Steinbok asked 18/1, 2010 at 11:27
0
Let's say I have a dynamic lib a.so.
Then I'm building b.so against a.so only if a.so is present on the machine.
Then I'm building executable c against b.so.
I was hoping to forget everything ab...
Mariner asked 10/4, 2013 at 10:56
3
Solved
I recently received a:
...relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
error while trying to compile a program as a shared ...
Scraggly asked 27/8, 2011 at 17:45
1
Solved
I want to start with a simple linking usage to explain my problem. Lets assume that there is a library z which could be compiled to shared library libz.dll(D:/libs/z/shared/libz.dll) or to static l...
Nitaniter asked 6/4, 2013 at 15:26
4
To comply with Qt's LGPL license, an application using the Qt library must either make the source code available or link dynamically against Qt (if I got that correctly in this few words).
So I'd ...
Tyrannous asked 28/1, 2013 at 21:37
1
Solved
I have a buildroot created file system, and I am trying to execute some c-code on lighttpd server.
I have created a simple C module that just prints out few lines of html. Code looks like this:
#...
Mckinleymckinney asked 26/1, 2013 at 10:11
3
I need to make my linux executable "compile once, run everywhere". Theoretically it's possible, because my program only use very basic system calls (system calls for network IO and file IO). In pra...
Lir asked 29/1, 2013 at 5:56
1
I've got a simple task to do. I need to merge set of pictures into a video using ffmpeg working in android environment.
After over a week fighting with different tutorials and examples explaining...
Backler asked 25/2, 2013 at 11:28
1
Solved
When using the Java Attach API, I'm getting the following link error on Linux (tried it on different machines) only:
Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.tools.attach.Win...
Malfeasance asked 8/3, 2013 at 9:20
1
Solved
I'm having some trouble with a particular library and I'm trying to test if an older version will fix my issue. The library is dynamically linked using dylib files stored near the .app file. These ...
Whiteman asked 22/2, 2013 at 12:44
1
I've created two modules (shared objects) CPU and SaveState as part of an emulator. Both are independently compiled into .so separate files, and loaded at runtime by a Lua script using require(); i...
Reinsure asked 30/1, 2013 at 23:45
© 2022 - 2024 — McMap. All rights reserved.