All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: ldd
@ 2018-05-22  7:45 Uwe Geuder
  0 siblings, 0 replies; 4+ messages in thread
From: Uwe Geuder @ 2018-05-22  7:45 UTC (permalink / raw)
  To: yocto

Hi!

When searching for "yocto ldd" Google brings up this old posting

On Mon Nov 11 05:25:08 PST 2013 Chris Hallinan challinan at gmail.com wrote:

> On Sat, Nov 9, 2013 at 9:57 AM, Gary Thomas <gary at mlbassoc.com> wrote:
>
>> On 2013-11-09 06:42, Seth Bollinger wrote:
>>
>>> Hello All,
>>>
>>> I don't see that ldd is part of the cross toolchain build anywhere.  Am I
>>> missing something?
>>>
>>
>> It's built with the eglibc recipe and is packaged separately.
>>
>>

Right, and the command to locate it is

$ oe-pkgdata-util find-path /usr/bin/ldd
ldd: /usr/bin/ldd

So the package name is indeed ldd.

>Gosh, I though ldd, originally a hard-to-maintain script, was obsoleted a
>long time ago. This command:
>
>$ readelf --dynamic <binary>
>
>provides the same information, and readelf can be found in every cross
>toolchain.
>
>-Chris
>

I don't think that is correct. readelf only shows static information
embedded into the binary. ldd does runtime lookup obeying e.g. the
LD_LIBRARY_PATH environment variable. It also has options -r and -u for
actually doing the relocations and it will report errors if they don't
succeed. So ldd is more useful than readelf for some use cases. 

Regards,

Uwe Geuder
Neuro Event Labs Oy
Tampere, Finland
uwe.gexder@neuroeventlabs.com (Bot check: fix one obvious typo)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ldd
  2013-11-09 14:57 ` ldd Gary Thomas
@ 2013-11-11 13:25   ` Chris Hallinan
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Hallinan @ 2013-11-11 13:25 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 606 bytes --]

On Sat, Nov 9, 2013 at 9:57 AM, Gary Thomas <gary@mlbassoc.com> wrote:

> On 2013-11-09 06:42, Seth Bollinger wrote:
>
>> Hello All,
>>
>> I don't see that ldd is part of the cross toolchain build anywhere.  Am I
>> missing something?
>>
>
> It's built with the eglibc recipe and is packaged separately.
>
>
Gosh, I though ldd, originally a hard-to-maintain script, was obsoleted a
long time ago. This command:

$ readelf --dynamic <binary>

provides the same information, and readelf can be found in every cross
toolchain.

-Chris

-- 
Life is like Linux - it never stands still.

[-- Attachment #2: Type: text/html, Size: 1216 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ldd
  2013-11-09 13:42 ldd Seth Bollinger
@ 2013-11-09 14:57 ` Gary Thomas
  2013-11-11 13:25   ` ldd Chris Hallinan
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2013-11-09 14:57 UTC (permalink / raw)
  To: yocto

On 2013-11-09 06:42, Seth Bollinger wrote:
> Hello All,
>
> I don't see that ldd is part of the cross toolchain build anywhere.  Am I missing something?

It's built with the eglibc recipe and is packaged separately.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* ldd
@ 2013-11-09 13:42 Seth Bollinger
  2013-11-09 14:57 ` ldd Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Seth Bollinger @ 2013-11-09 13:42 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 128 bytes --]

Hello All,

I don't see that ldd is part of the cross toolchain build anywhere.  Am I
missing something?

Thanks,

Seth

[-- Attachment #2: Type: text/html, Size: 218 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-22  7:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-22  7:45 ldd Uwe Geuder
  -- strict thread matches above, loose matches on Subject: below --
2013-11-09 13:42 ldd Seth Bollinger
2013-11-09 14:57 ` ldd Gary Thomas
2013-11-11 13:25   ` ldd Chris Hallinan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.