Date: Wed, 2 Mar 2022 08:32:12 -0700 From: Warner Losh <imp@bsdimp.com> To: Arka Sharma <arka.sw1988@gmail.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Difference in shared object dependency Message-ID: <CANCZdfruUH9-Xef0zBAWLY_Ud5QsBV%2BNO2f2YcJyGPPP-3E6wg@mail.gmail.com> In-Reply-To: <CAPO=kN0mod0aMnTe-VTf%2BOORHPM--P719v2ET2_YokzTnUrzPQ@mail.gmail.com> References: <CAPO=kN0mod0aMnTe-VTf%2BOORHPM--P719v2ET2_YokzTnUrzPQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000f2f92505d93dfcaa Content-Type: text/plain; charset="UTF-8" On Wed, Mar 2, 2022 at 8:14 AM Arka Sharma <arka.sw1988@gmail.com> wrote: > I am using 'ldd -a' to list the shared object dependencies of executable > as well as using 'procstat -v' to dump the mapping which also lists the > mapping of shared objects in process address space. I have noticed in some > cases 'procstat' lists some additional .so files (not counting the > ld-elf.so). Can somebody please tell me what's going on here ? > Are they repeats, but with different versions, of what ldd -a shows? If so, then you have a partially upgraded system and will likely be in a world of pain until you upgrade completely. Alternatively, you might be seeing a program that uses dlopen to map in other modules which is pulling in these libraries. In that case, it's normal. Warner --000000000000f2f92505d93dfcaa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 2, 2022 at 8:14 AM Arka S= harma <<a href=3D"mailto:arka.sw1988@gmail.com">arka.sw1988@gmail.com</a= >> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px= 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di= v dir=3D"ltr"><div>I am using 'ldd -a' to list the shared object de= pendencies of executable as well as using 'procstat -v' to dump the= mapping which also lists the mapping of shared objects in process address = space. I have noticed in some cases 'procstat' lists some additiona= l .so files (not counting the ld-elf.so). Can somebody please tell me what&= #39;s going on here ?</div></div></blockquote><div><br></div><div>Are they = repeats, but with different versions, of what ldd -a shows? If so, then you= have a partially upgraded system and will likely be in a world of pain unt= il you upgrade completely.</div><div><br></div><div>Alternatively, you migh= t be seeing a program that uses dlopen to map in other modules which is pul= ling in these libraries. In that case, it's normal.</div><div><br></div= ><div>Warner=C2=A0</div></div></div> --000000000000f2f92505d93dfcaa--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfruUH9-Xef0zBAWLY_Ud5QsBV%2BNO2f2YcJyGPPP-3E6wg>