Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [ldd]

ldd is a unix command-line tool to print shared library dependencies for an executable or shared library.

-3 votes
1 answer
43 views

Shared library locations from executable, to copy for Docker multi-stage build

ldd is a partial solution: https://stackoverflow.com/a/63663617 I am trying to build a small Docker image from a large one. So I build my Rust project and COPY --from=stage0 into my distroless (also ...
Samuel Marks's user avatar
  • 1,773
0 votes
0 answers
32 views

container ldd different results on different hosts

Running the same Docker container on different hosts we are seeing some run-time undefined symbol lookups. We can fix these with -rpath, LD_LIBRARY_PATH, link order, etc, but first we are trying to ...
Jeff Brower's user avatar
0 votes
2 answers
58 views

Linker error in calling a subroutine of a library [duplicate]

I've created a simple shared library in Fortran and used it in a test program. The library module contains a subroutine in a file named my_module.f90 that is: ! my_module.f90 module my_module ...
Sara's user avatar
  • 3
0 votes
1 answer
4k views

How to upgrade Glibc library in Ubuntu 22.04 [duplicate]

I am currently running a Ubuntu 22.04 VM. It has by default Glibc 2.35. Due to a security vulnerability, I am trying to upgrade it to 2.39. I followed the following steps to download the gzipped ...
Piyush Das's user avatar
0 votes
0 answers
69 views

.so file is missing while running C++ app

I am trying to deploy my app as a docker container. I was able to build the app inside the container. I started the container and run ldd myapp command inside it to obtain the list of all dependencies....
MsA's user avatar
  • 2,869
1 vote
1 answer
154 views

Perf report: shared object names showing up as `(deleted)` in docker

I profiled two binaries that run the same logical computation, one written in Swift the other in C++. The code is very simple, just does some math computation in a loop. I am using the Swift docker ...
loonatick's user avatar
  • 987
0 votes
0 answers
47 views

R won't find libR.so on its own

I have recently installed R v4.3.2 on a RHEL 8.7 (after removing an older v4.0.4) It has been installed using a downloaded rpm and the yum command. however, R fails to find libR.so if I try to launch ...
Abi T.'s user avatar
  • 118
0 votes
0 answers
77 views

What does it mean for a shared object to be listed twice, both as found and not found, after setting LD_PRELOAD?

I am compiling a C++ executable (let's say myexec) and two of the libraries it depends on (let's say mylib1.so and mylib2.so), using GCC 8.5.0, on Red Hat Enterprise Linux 8. Running ldd myexec ...
mpliax's user avatar
  • 109
1 vote
1 answer
352 views

Why C app fail because of shared library?

This is my example which is based on official code. I run example and get error FFMpeg_MJPEG-transcode-VP9_C_Universe$ myExample/build-host/myExample myExample/build-host/myExample: error while ...
Андрей Тернити's user avatar
0 votes
1 answer
45 views

running the same executable on a different machine returns coredump and ldd coredump

I built an executable (mybin.out) on my Ubuntu 23.04 and put it and all its dependencies (shared libraries) in a folder (folder name=execfolder). I copied the folder to another Linux machine (Ubuntu ...
user avatar
0 votes
3 answers
238 views

Better error message if dynamic linking fails

I get this error if dynamic linking fails: / # /manager /bin/sh: /manager: not found For the average user this is very confusing, because /manager exists. Now, after searching for some hours, I found ...
guettli's user avatar
  • 27.9k
1 vote
0 answers
3k views

Centos8 undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b

while running ssh command on CentOs8 server getting below error message. /usr/bin/ssh: symbol lookup error: /usr/lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b ...
USER's user avatar
  • 11
1 vote
1 answer
515 views

What is the meaning of the '=>' symbol in the output of 'ldd' command in Linux linker?

when I run 'ldd some_executable_file', it shows dependencies required by this exe, like "libm.so.6 => /usr/lib64/libm.so.6 (0x00007ff2eaf52000)". while some dependencies in the list ...
onendless's user avatar
0 votes
1 answer
140 views

How can I point C++ tests to my build-directory copy of my library and not to the installed library when LD_LIBRARY_PATH points to the installed one?

I am working on a Project, which is installed by defining export LD_DIBRARY_PATH=.... My Problem is, that when I'm developing, the compiled test files linking to the installed library and not to the ...
TillLeiden's user avatar
1 vote
0 answers
400 views

How to use dynamic linking to implement missing symbol in shared library with additional shared library

I have a shared library in linux that was compiled using glibc and I want to run it in Alpine linux without recompiling it against Alpaine C libraries. I found that there is solution to install ...
Alon Lanyado's user avatar

15 30 50 per page
1
2 3 4 5
18