dynamic-linking Questions
1
Solved
First of all, This is not a duplicate question, because 1) this is a linker problem, compiler is passed successfully because I have explicitly instantiated. 2) It's not about template class, but te...
Pines asked 15/7, 2018 at 9:34
2
Solved
I am probably mistaken about how dynamic linking works, because I cannot figure this out. As I understood it, when a library is dynamically linked, its symbols are resolved at runtime. From this an...
Gulick asked 6/7, 2018 at 11:21
1
Solved
Trying to prepare a single dynamic framework to my customer. My framework (A.framework) uses third-party recognition static framework (B.framework). I can't provide separate A and B frameworks to t...
Dedrick asked 22/6, 2018 at 11:51
1
Solved
By default all symbols are exported to dynamic table, so why would we use -rdynamic flag? Even if we hide some symbols via attributes/-fvisibility=hidden - -rdynamic doesn't change result, it...
Brokerage asked 18/5, 2018 at 20:37
1
Solved
I am developing an app which can share and been reward so I use the concept of the dynamic link so to store the information of inviter in that link and later be rewarded. but the PendingDynamicLink...
Ironmonger asked 25/2, 2018 at 18:19
1
Solved
During working on some project, I faced the issue that I can't build so library. I have got the error like: relocation R_X86_64_PC32 against symbol '' can not be used when making a shared object; r...
Bulganin asked 19/3, 2018 at 21:31
1
Solved
Is it possible for a running c++ based process to reload a c++ based dynamic library using dlopen.
The running process polls for a new version of the dynamic library (with the same API). on...
Milestone asked 14/3, 2018 at 14:50
1
Solved
I'm trying to understand the dynamic linking of shared libraries on Linux. Given the following dump of Relocation section '.rela.plt':
Offset Info Type Sym. Value Sym. Name + Addend
000000373f68...
Enure asked 23/2, 2018 at 6:6
3
Solved
I link with two different shared libraries. Both libraries define some symbols that share a name but have different implementations. I can't make each library use its own implementation over the ot...
Cladoceran asked 30/6, 2011 at 17:11
0
I have the following directory structure
.
├── 3rdparty
│ └── liba
│ ├── include
│ │ └── liba.hpp
│ └── lib
│ └── liba.so
├── cmake
│ └── FindLiba.cmake
├── CMakeLists.txt
└── source...
Algicide asked 17/2, 2018 at 23:21
3
Solved
In the boost unit testing documentation it specifically states that you need to define BOOST_TEST_DYN_LINK in order to link with the boost unit test library.
I am using this basic example:
#defin...
Remissible asked 25/8, 2017 at 11:20
2
Solved
Why we need the presence of the shared library during the compile time of my executable? My reasoning is that since shared library is not included into my executable and is loaded during the runtim...
Thermodynamic asked 13/2, 2018 at 16:7
2
Solved
At work we have an MFC Extension DLL that built fine with 1.35 but when built with 1.43 causes the following error:
error LNK2005: __pRawDllMain already defined in ApObs.obj
If I activate BOOST_...
Huelva asked 12/8, 2010 at 11:7
1
Solved
Today I was in a discussion involving that libraries dont have an entry point.Generally the executable loads the libraries and the entry point is the main in the executable itself.
Are there exece...
Stickler asked 17/1, 2013 at 9:35
2
Solved
My question is not the same as this question.
I'm working on a project with a standalone binary that has no dynamic/external linkage, and runs in a *nix environment.
I'm attempting to move to a n...
Munniks asked 19/4, 2011 at 17:20
2
Solved
According to the doc, dlopen is used in conjunction with dlsym to load a library, and get a pointer to a symbol.
But that's already what the dynamic loader/linker does.
Moreover, both methods are...
Tersanctus asked 29/7, 2017 at 10:30
1
Solved
I build an R package which uses Rcpp and links to a third-party shared object (libbarraopt.so) (which also links to other shared objects such as liboptsrvr.so in its own directory). To ensure that ...
Driftwood asked 5/11, 2017 at 1:53
1
Solved
I am currently trying to compile all my applications' dependencies as a static library. My motivation:
Not to rely on any OS provided libraries in order to have a perfectly reproducible code base...
Walter asked 31/10, 2017 at 19:35
2
Solved
Python Extension modules are just dynamic libraries, so I assume it's possible to dynamically link a Python extension to another. The problem is on Windows Python Extensions are are given the .pyd ...
Tate asked 17/7, 2010 at 1:1
1
I have a library, which consists of 3 files which are intended to be put in site python directory.
FbxCommon.py
fbxsip.so
fbx.so
Once these files are in place, Python can see fbx package. How does...
Proviso asked 6/10, 2017 at 14:49
5
Solved
Problem
I'm compiling the deep learning library Caffe in Ubuntu 14.04(64 bit).
OpenCV(Version: 2.4.8+dfsg1-2ubuntu1) is installed from ubuntu packages server with :
sudo apt-get install libope...
Magnetics asked 26/3, 2015 at 6:44
0
I have a library of DSP functions in C++ and I want to link to them dynamically at run time. I am using the PDLL.h method to wrap my classes (for example FFT) into C-style functions and load them l...
Marlowe asked 18/8, 2017 at 8:17
1
Solved
am developing an e-commerce app with android and firebase. I understand how to create dynamic link with firebase console. However I want to be able to create dynamic links for each product when a u...
Virelay asked 16/8, 2017 at 0:2
1
I am compiling a program against a shared library I have written. This library in turn relies on Boost::program_options (among other libraries). When I compile my program, I need of course to menti...
Magazine asked 13/7, 2016 at 12:42
1
Solved
I'm working on a project that needs to arbitrarily load/unload Rust-based plugins (shared objects) into isolated dynamic library namespaces.
I use dlmopen(LM_ID_NEWLM, "rust-plugin.so", RTLD_LAZY)...
Deference asked 8/6, 2017 at 22:43
© 2022 - 2024 — McMap. All rights reserved.