Re: Missing links of libraries (*.so) on Debian 11

2023-01-16 Thread songbird
Greg Wooledge wrote: ... > And yes, "ldd /path/to/the-program" would also be useful information. my guess is that the OP did not know that they needed to install the build-depends for this package and then tried to build it. hopefully i'm wrong, but if i'm not a simple answer is to install th

Re: Missing links of libraries (*.so) on Debian 11

2023-01-16 Thread The Wanderer
On 2023-01-16 at 09:39, Thomas Schmitt wrote: > Hi, > > Nicolas George wrote: > >> The .so symbolic are not for running programs, they are for >> building them. For running, you only need the .so.vers links. > > Yes, but at build time, the actually used SONAME is recorded in the binary. > ldd w

Re: Missing links of libraries (*.so) on Debian 11

2023-01-16 Thread Greg Wooledge
On Mon, Jan 16, 2023 at 03:39:41PM +0100, Thomas Schmitt wrote: > Before accusing the developer, one should make sure that the binary > is indeed linking to .so without SONAME. > This can be checked by > > ldd /...path.../...to.../binary-tool > To be exacting: > The bug would be in the build sy

Re: Missing links of libraries (*.so) on Debian 11

2023-01-16 Thread Thomas Schmitt
Hi, Nicolas George wrote: > The .so symbolic are not for running programs, they are for building > them. For running, you only need the .so.vers links. Yes, but at build time, the actually used SONAME is recorded in the binary. ldd will show library.so.SONAME as run-time library. > If all the O

Re: Missing links of libraries (*.so) on Debian 11

2023-01-16 Thread Greg Wooledge
On Mon, Jan 16, 2023 at 11:15:33AM +, piorunz wrote: > On 16/01/2023 10:33, Avtansh Gupta wrote: > > */usr/lib/x86_64-linux-gnu/libaudit.so* > > > > This is the missing .so file in debian11. This file was present on the > > previous versions of Debian and other Linux distros as well. > > Inco

Re: Missing links of libraries (*.so) on Debian 11

2023-01-16 Thread Christoph Brinkhaus
Am Mon, Jan 16, 2023 at 08:28:59PM +0800 schrieb Ruiyang Peng: > On 2023/1/16 18:33, Avtansh Gupta wrote: > > Hello All, Hello, > > I recently noticed that some of the library soft links on my Debian 11 > > system are missing which were there in the previous versions. I have a > > program loading

Re: Missing links of libraries (*.so) on Debian 11

2023-01-16 Thread Ruiyang Peng
On 2023/1/16 18:33, Avtansh Gupta wrote: Hello All, I recently noticed that some of the library soft links on my Debian 11 system are missing which were there in the previous versions. I have a program loading one of these shared objects dynamically but is failingĀ as it is unableĀ to locate th

Re: Missing links of libraries (*.so) on Debian 11

2023-01-16 Thread Vincent Lefevre
On 2023-01-16 17:02:19 +0530, Anurag Aggarwal wrote: > The tool is looking for .so file to run, not for build. This tool is buggy since the .so symlink may point to any version of the library, and the various versions are not compatible to each other. The symlink with the supported version number

Re: Missing links of libraries (*.so) on Debian 11

2023-01-16 Thread Anurag Aggarwal
> > > > The .so symbolic are not for running programs, they are for building > them. For running, you only need the .so.vers links. > > If a program dynamically loads directly a .so, it is probably bugged. > The tool is looking for .so file to run, not for build. We need to dynamically load .so a

Re: Missing links of libraries (*.so) on Debian 11

2023-01-16 Thread piorunz
On 16/01/2023 10:33, Avtansh Gupta wrote: */usr/lib/x86_64-linux-gnu/libaudit.so* This is the missing .so file in debian11. This file was present on the previous versions of Debian and other Linux distros as well. Incorrect. You just did not installed it yet :) $ lsb_release -d Description:

Re: Missing links of libraries (*.so) on Debian 11

2023-01-16 Thread Nicolas George
Avtansh Gupta (12023-01-16): > I recently noticed that some of the library soft links on my Debian 11 > system are missing which were there in the previous versions. I have a > program loading one of these shared objects dynamically but is failing as > it is unable to locate the file. > > */usr/li