dynamic-linking
Substitute for LD_PRELOAD or LD_LIBRARY_PATH
I\'m doing some C programming on a machine for which I don\'t have root access. I\'ve compiled some shared libraries that I\'m linking to, but because I cannot install the libraries in the typical loc[详细]
2023-02-20 21:43 分类:问答What does @plt mean here?
0x00000000004004b6 <main+30>:callq0x400398 <printf@plt> Anyone knows? UPDATE Why two disas printf give me different result?[详细]
2023-02-20 16:15 分类:问答how to handle "undefined symbol" errors for mismatched shared objects
I developed an application using a recent Glade, so I need it to load the UI from XML at runtime, using the GtkBuilder.If I try to run this on a distro which has too old a Gtk (e.g. RHEL 5), it will f[详细]
2023-02-20 13:22 分类:问答Mixing static libraries and shared libraries
I have a project where I have one static library libhelper.a and another with my actual shared object library, libtestlib.so. My goal is to link libhelper.a i开发者_如何转开发nto libtestlib.so. Is tha[详细]
2023-02-20 01:58 分类:问答What is static library and what is dynamic library, what is the difference and what is better to use and why? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: What do 'statically linked' and 'dynamically linked' mean?[详细]
2023-02-19 03:01 分类:问答overriding @executable_path in a DLL loaded with dlopen()
Operating system is MacOS X, specifically 10.5 (Leopard) on a PowerPC G4, but I have the same problem on an x86 running 10.6.[详细]
2023-02-18 07:43 分类:问答Position-independent code and vtable
How are virtual functions implemented in position-independent code? I know that if my class has virtual functions, the compiler usually generates a vtable for it that contains addresses of all virtua[详细]
2023-02-17 22:50 分类:问答Mandatorily Dynamically linked libraries
I learnt from book (Expert C programming : deep C secrets\" by Peter Van Der Linden ) that there are specific libraries for wh开发者_如何转开发ich dynamic linking is mandatory ; Which are these librar[详细]
2023-02-16 13:17 分类:问答Specifying installed native library paths during pypy translate
I am trying to build the latest pypy repo on a Mac machine. One of the needed libraries, libintl, is installed in $HOME/opt/local/lib. I run (using a previously built pypy-c),[详细]
2023-02-16 06:38 分类:问答Is it possible to link to the source code of git when I just remove the main function?
I want to write a GUI front-end for git in C. I know I can just pack a compiled binary of git within my application bundle (Mac OS X), but is it also possible to compile git as a dynamic library with[详细]
2023-02-15 15:07 分类:问答