dynamic-linking Questions
3
Solved
The OS X dynamic loader often gives errors like
Symbol not found: <some symbol name>
Referenced from: <lib location>
Expected in: flat namespace
If you search for the error you'll fi...
Paterfamilias asked 28/8, 2015 at 18:12
5
Solved
Relating to a previous question of mine
I've successfully interposed malloc, but calloc seems to be more problematic.
That is with certain hosts, calloc gets stuck in an infinite loop with a pos...
Sachikosachs asked 27/10, 2011 at 1:2
1
Solved
On macOS, a dylib has a compatibility version and a current version as metadata, each having a form of x.y.z.. otool -L can display these.
How and when are these versions used by the system, or by ...
Blasphemy asked 12/4, 2021 at 9:16
1
Solved
What does <some symbol>@GOTPCREL(%rip) mean?
I've come across this line mov var@GOTPCREL(%rip), %rax and was a bit puzzled about the weird syntax.
Can someone please recommend the relevant do...
Stile asked 19/3, 2021 at 18:3
7
Solved
I am running Android x86 on VirtualBox, and I want the pointer integration enabled, which needs VirtualBox Guest Additions to be installed on the guest OS.
I have searched a lot, but what I have ...
Ardellaardelle asked 22/11, 2011 at 23:5
1
In Linux Ubuntu I can compile C++ source code with dynamic library and tell the gcc compiler where to find the .so lib file by setting environment variable $LD_RUN_PATH before compile. I would like...
Misfit asked 24/4, 2016 at 5:55
2
Solved
I've had numerous problems compiling shared objects that link statically against static libraries. This problem only shows up on x84_64 platforms. When doing the same compilation work on x86_32 I d...
Donell asked 18/10, 2010 at 17:0
2
Solved
.plt : in RE able segment, have trampoline functioning at plt[n] except 0, have .got.plt resolver link at plt[0]
.got .got.plt : in RW able segment, just address
Which I learned from this post: ...
Drescher asked 24/9, 2019 at 8:54
2
i am trying to create a dynamic library having dependency on WFDB library ( https://www.physionet.org/physiotools/wfdb.shtml ).
My c++ code looks as:
#include <stdio.h>
#include <iostre...
Rectrix asked 18/8, 2018 at 9:47
16
Solved
Are there any compelling performance reasons to choose static linking over dynamic linking or vice versa in certain situations? I've heard or read the following, but I don't know enough on the subj...
Editheditha asked 3/1, 2010 at 0:6
3
Solved
Is it possible to consume a library built using C++17 against a C++11 application if all the public facing headers and APIs belonging to the C++17 library that the C++11 application consumes follow...
Plasmodium asked 24/7, 2020 at 18:11
1
We are compiling our Go code to be run on docker and we were investigating why our binary was not executing. We found that it was missing some dynamic libraries (although we want statically linked ...
Kiloton asked 9/7, 2020 at 14:23
0
When editing dynamic links in my Android Firebase app I try to define the link behavior for Android by choosing "Open the deep link in your Android app", followed by pressing Next "if your app is n...
Boiler asked 26/5, 2020 at 19:2
1
I used the .cmake files from https://github.com/brendan-w/collector/tree/master/cmake, and I put them in the same directory as my CMakeLists.txt, then I used the code:
set(CMAKE_MODULE_PATH FindSD...
Pessimist asked 8/2, 2016 at 22:31
1
Solved
I am trying to add python bindings to a medium-sized C++ scientific code (some tens of thousands LOCs). I have managed to make it work without too many issues, but I have now incurred in an issue w...
Floris asked 22/3, 2020 at 13:32
2
Solved
This might sound like a silly question but If you have a thirdParty.framework file, can you tell if it's static or dynamic? I mean, do they look different if you look inside?
Arad asked 15/9, 2015 at 17:11
3
Solved
I have a local shared library which is not in $LD_LIBRARY_PATH.
I want to run my executable, but since it cannot find the shared library in the system folders, it outputs "error while loading share...
Radom asked 21/5, 2015 at 17:12
1
Is there a way to instantiate two Wasm modules, a and b such that a can call functions from b and also access the distinct memory from b? For example, let's say that a gets memory by calling an imp...
Bradeord asked 14/1, 2020 at 3:26
1
Solved
Summary
I am trying to compile ánd run/debug Qt code in Clion on Windows. Both CMake and the building process return no errors.
The following scenarios occur:
When I try to run I get Process finis...
Scabby asked 5/12, 2019 at 1:44
1
Solved
nokogori gem comes with its own version of libxml2. Moreover it warns about libxml2.so of a different version being loaded before it was required:
if compiled_parser_version != loaded_parser_vers...
Eberhart asked 18/12, 2019 at 14:14
3
Solved
I've been using a docker image for c++ compilation. It's based on Ubuntu 18.04. When I attempt to run on some Ubuntu 16 systems, I get this message:
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC...
Application asked 7/3, 2019 at 16:29
3
I am trying to find the differance between RTLD_NOW and RTLD_LAZY flags. My query is why RTLD_LAZY loading the library whose function I've never referanced.
I have created a dlrun.c file
#include &...
Uranyl asked 23/3, 2014 at 13:23
3
Solved
I'm trying to use the cmocka unit test framework which suggests to use weak linking to be able to select a user-defined implementation over the actual implementation of a function. In my environmen...
Wallaroo asked 31/3, 2017 at 9:12
2
Solved
I'm building a program with autoconf, automake, and libtool.
My work requires that I statically link (most) libraries. This hasn't been
a problem in the past because I could statically link everyth...
Willywillynilly asked 21/12, 2012 at 21:26
2
Solved
I have simple program as follow:
CMakeLists.txt:
cmake_minimum_required(VERSION 3.5)
project(test LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
LINK_DIRECTORIES...
Complexion asked 28/10, 2019 at 20:31
© 2022 - 2024 — McMap. All rights reserved.