[poky] Need some advice of how to get the ld.so names in multilib situation

Lu, Lianhao lianhao.lu at intel.com
Thu Jul 28 20:20:20 PDT 2011


Hi guys,

Bug #1236 http://bugzilla.pokylinux.org/show_bug.cgi?id=1236

In order to get ldd work under the multilib situation, ldd and ldconfig.h need
to know all the full path names for all the dynamic loaders(ld.so) in the
current multilib configuration. 

The dynamic loader's full path names would be something like:
  ${base_libdir}/<ld.so name>

We can get the ${base_libdir} for each variant in the multilib configuration by
setting the correct TUNE name. The problem resides in the <ld.so name>. For
i586 and x86_32, the ld.so name would be "ld-linux.so.2"; for x86_64 it would
be "ld-linux-x86-64.so.2"; but for other ABI, I see names like "ld-linux.so.3",
"ld.so.1", "ld64.so.1", etc.

So the question is how we can get the correct ld.so names in the current
multilib configuration? Hard code them in the TUNE configurations?

Best Regards,
-Lianhao



More information about the poky mailing list