Skip to main content

Questions tagged [shared-library]

The tag has no usage guidance.

1 vote
0 answers
15 views

Do executables in different containers share shared objects that are define in the same common image layer?

I am investigating the memory impact of containerising two processes that depend on the same shared object. My main question is whether the shared object will be loaded in memory twice or not. This ...
A.G's user avatar
  • 11
1 vote
0 answers
22 views

The library path of gold linker (ld.gold)

How to set library search path through environment variables? (since I'm using bazel) How to print library search path used by ld.gold (so I can check if I set it correctly) Context: I'm compiling a ...
Xiaochen Cui's user avatar
0 votes
1 answer
38 views

How to specify which glibc and libstdc++ to run the program, without sudo

I want to run a program on CentOS, but I met problem with the libstdc++ and glibc. I can't update both because I have no root privileges, and I would like the solution to only affect this particular ...
House Peace's user avatar
1 vote
0 answers
23 views

Mamba broken after updating ssl. ImportError: cannot dynamically load position-independent executable

I work on a linux server that is running Ubuntu. I have been using miniforge to manage environments with packages for specific tasks. Previously, I was using a global install of anaconda in but ...
Weston Elison's user avatar
0 votes
0 answers
11 views

Library not being found [duplicate]

I am getting the following error when running a Java Project: /home/morpho/lib64/libMorphoSmartSDKJavaWrapper.so.6.45.0.0: libmorphosdk.so.6: cannot open shared object file: no such file or directory ...
Noor's user avatar
  • 989
29 votes
2 answers
3k views

What does "6" mean in glibc.so.6?

When exploring the C++ binary, I find that libstdc++.so.6 is dyn-linked into libm.so.6 and libc.so.6: $ ldd /lib/x86_64-linux-gnu/libstdc++.so.6 linux-vdso.so.1 (0x00007ffcb737b000) ...
syheliel syheliel's user avatar
0 votes
0 answers
33 views

Prevent a program from writing the HOME directory using SMACK

I have a binary program that creates an empty folder in the HOME directory everytime it starts up. I don't like that and want to use the SMACK mechanism to stop it from doing that. My idea is to label ...
Xinyu Wang's user avatar
1 vote
0 answers
23 views

How this executable is able to locate this shared library invisible to ldconfig? [duplicate]

I have an executable vimba, which uses a shared library libVmbC.so, which is not installed to the standard location. The copies reside at: paul@desktop:~/st-cpp/vimba/build$ sudo find / -name "...
Paul Jurczak's user avatar
2 votes
1 answer
41 views

Why doesn't this executable load a relatively-pathed module library even though RPATH is set?

I migrated this question from Stack Overflow; although there is a programming aspect to it, the more I've tried to understand what's going on, the more I think this may have more to do with RPATH and $...
StoneThrow's user avatar
  • 1,797
0 votes
1 answer
78 views

Need to install HDF5 library 1.8.16 on Ubuntu 18.04

I need to run an older software that requires this specific version of HDF5 library. But Ubuntu 18 already consists 1.10.0-patch 1, which is a higher version. So in result I get: "Headers are 1.8....
imNotARobot's user avatar
0 votes
0 answers
54 views

Issue with `libz.so.1` when running PhantomJS

After extracting the file contents from the phantomjs archive, I ran the command phantomjs and was met with the error: phantomjs: error while loading shared libraries: libz.so.1: cannot open shared ...
Майкл Шодеке's user avatar
0 votes
0 answers
44 views

Linux so convention: is the .so link intended to come from dev packages?

On my Ubuntu jammy Linux PC, after installing the libuv1 package (apt-get install libuv1), I noticed that there was a file, named libuv.so.1.0.0 and a symbolic link to it, named libuv.so.1: $ find /...
StoneThrow's user avatar
  • 1,797
0 votes
3 answers
244 views

Making changes to the shared library

Suppose we have a C program that uses the shared library. If you make changes to a shared library and rebuild it, all programs using that library will automatically receive those changes the next time ...
dsa14dfS's user avatar
0 votes
0 answers
24 views

Shared library not found when installing samba-ad-dc with 800-171 security policy enabled

In the interest of ensuring compliance I’m trying to get the Samba DC running on Rocky Linux 8 with the FIPS 800-171 security policy enabled. Fresh minimal VM install from the DVD image, I download ...
moosemaimer's user avatar
0 votes
1 answer
62 views

Substitute a new man page for an older one

I've just built (from source) a current version (ver 2.1) of libgpiod on my RPi 4B. There are six (6) "command-line tools" included in the source tarball for libgpiod. During the make ...
Seamus's user avatar
  • 3,087

15 30 50 per page
1
2 3 4 5
22