Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] host ldconfig package
@ 2014-11-06 23:42 Jeff Horn
  2014-11-07  7:25 ` Thomas Petazzoni
  2014-11-07 16:35 ` Jérôme Pouiller
  0 siblings, 2 replies; 8+ messages in thread
From: Jeff Horn @ 2014-11-06 23:42 UTC (permalink / raw)
  To: buildroot

Hi,

I am using buildroot for one of our i.MX6 based boards and I have it mostly
working ( I can't get video to work ). While troubleshooting freescales
gstreamer plugins I noticed the /etc/ld.so.cache was empty. I found in the
buildroot makefile where ldconfig is called so I manually ran
/sbin/ldconfig -v -r output/target and I see lots of output like this:

/sbin/ldconfig.real: /usr/lib/libGLESv2.so is for unknown machine 40.

It seems the ldconfig on my host (Ubuntu 14.04) cannot handle the tartget
rootfs. I found a post from a year ago with the same issue but I did not
see any resolution.

So, I looked at my current Yocto build and I discovered Yocto builds a
native hacked version of ldconfig and that is what gets called for the
target rootfs. So, I copied that binary over and modified buildroots
Makefile to call that instead and the cache is now populated correctly.

With that all working I created a buildroot host ldconfig package based on
the Yocto code ( I'm using BR2_EXTERNAL) and using that the ld.so.cache
gets populated. I still had to modify the buildoort Makfile to look for the
newly installed host ldconfig.

I guess my question is are others having any issues with image finalization
and ldconfig?

On another note I see others are working on the fsl-gst-plugins and I can
help test that as I REALLY want to get a working image out of buildroot.

Thanks in advance,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141106/ba32f38a/attachment.html>

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

end of thread, other threads:[~2014-11-11 21:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06 23:42 [Buildroot] host ldconfig package Jeff Horn
2014-11-07  7:25 ` Thomas Petazzoni
2014-11-07 16:35 ` Jérôme Pouiller
2014-11-07 17:43   ` Jeff Horn
2014-11-08 21:56     ` Gary Bisson
2014-11-10  9:41       ` Jérôme Pouiller
2014-11-11  0:04       ` Jeff Horn
2014-11-11 21:26         ` Jeff Horn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox