Questions tagged [shared-libraries]
Shared libraries are libraries that are loaded by programs when they start. A single shared copy of each library is loaded into physical memory and may be used by multiple processes at the same time. This reduces memory use and improves system performance. This tag should never be used alone.
shared-libraries
8,063
questions
1
vote
0
answers
31
views
ld cannot find -lblas -llapack while installing R package clarabel (no root access)
I totally understand if this is an incredibly specific situation which would be better directed to my system administrators instead of StackOverflow, but I thought I'd give it a shot anyway.
I am ...
0
votes
0
answers
18
views
In Yocto, how do I install the libiec61850 library and examples on a Linux target?
I've created a Linux image with overlays, docker, docker compose, added and configured users and it all works. I'm now trying to install libiec61850 library and run examples. I've installed the ...
-2
votes
0
answers
37
views
Java JNI: Issues with Loading Dependent Dynamic Libraries Using loadLibraryFromJar and C++ System Functions Returning Empty Values [duplicate]
Java JNI calls a C++ dynamic library using loadLibraryFromJar, and this dynamic library depends on other dynamic libraries. When I place the dependent dynamic libraries in the system path, /usr/lib/, ...
1
vote
0
answers
21
views
Huge memory consumption when iterating systemd journal
Dear community, here are the story description and 2 questions:
I'm trying to fix significant memory consumption in a systemd (--version is 250) journal forwarding application. Our application is ...
0
votes
3
answers
51
views
bad window path name tkinter
I am trying to code rock paper scissors in tkinter python but my reset button command gives me the error:
Traceback (most recent call last):
File "C:\Python36\lib\tkinter\__init__.py", ...
1
vote
0
answers
45
views
Cython - Export my lib to a .so file and use in a C program - Symbols not found
I'm learning cython and the exercise I'm doing wants me to make a lib (.so) to use in a C program (already compiled), that require that lib. I already have done the lib. It is working.
But now, I need ...
0
votes
0
answers
10
views
Error Issue with functions "estimate_pls" from SEMinR library
I'm trying to build a path model using the SEMinR library. This is the code I'm trying to run :
mediated_sm <- relationships(
paths(from = "clicks_2095320", to = "total_conversions&...
0
votes
0
answers
16
views
How does the dynamic linker resolve symbols at run time?
I'm trying to understand how the dynamic linker resolves symbols at run time. I read chunks (but not all) of David Beazley et. al's The Inside Story on Shared Libraries and Dynamic Loading, but I don'...
0
votes
0
answers
19
views
Build failure on Msys2/ming64 environment by clang with clang64/bin PATH
On Msys2/ming64 environment, tried to build stockfish by use of clang/llvm, as PATH:
clang64/bin precedes over mingw64/bin
use flags:
CXXFLAGS: -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic ...
1
vote
1
answer
28
views
Why is linking a dynamic library against a static library apparently easy on Windows but on Linux `-fPIC` makes that difficult? [closed]
I am working on adapting an existing ODBC driver so that it can target Linux.
ODBC Drivers are generally distributed as DLLs on Windows and shared objects (.so) on Linux.
The driver depends on Boost. ...
2
votes
1
answer
44
views
grpc c++ - Shared library vs static library
I tried to build grpc c++ in two ways. One with -DBUILD_SHARED_LIBS=ON and one without it.
When it is off, I get in the lib/ directory, for example:
360M libgrpc.a
(Any many other libraries)
When it ...
0
votes
1
answer
119
views
libdecor-gtk-WARNING: Failed to initialize GTK. Occurs when using glfwinit
I have a testing project set up for bgfx, which I was trying to learn.
Problem is, i can't get GLFW to initialize properly.
The code snippet currently existing is this:
#include <bgfx/bgfx.h>
#...
0
votes
0
answers
37
views
Goroutine not starting in shared library
I'm trying to create a pam module to be used for authorization with SSH.
Unfortunately every goroutine does not start within the PAM module, if it was used within SSH flow. It does indeed work with ...
0
votes
0
answers
14
views
Exception log print from liblog(Android/Native)
When I print logs in a so library file integrated into Android Native, I see in logcat that part of my log is not output and is replaced by log output from liblog, why is this, is it because I print ...
0
votes
1
answer
56
views
importing .so file in python
this has been asked a million times but, after having tried all I found, I am still getting an ImportError. So, I am doing this:
import sys
sys.path.append("/usr/local/lib")
import ...