All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] How do you add to library path?
@ 2012-04-26 17:42 Grant Edwards
  2012-04-26 20:12 ` Bernhard Reutner-Fischer
  2012-04-27 22:18 ` Arnout Vandecappelle
  0 siblings, 2 replies; 7+ messages in thread
From: Grant Edwards @ 2012-04-26 17:42 UTC (permalink / raw)
  To: buildroot

What's the right way to permanently add a directory to the search path
for dynamic libraries?  (Preferably at build-time, rather than at
run-time.)

I've added the directory path to /etc/ld.so.conf using a post-build
script. But, that file seems to be ignored at boot time (and there is
no "ldconfig" to run even if I wanted to).

I suppose I could set LD_LIBRARY_PATH globally, but for performance
reasons, I'd prefer that the new path went into /etc/ld.so.cache. [I'm
not sure how one sets a global environment variable anyway.]

There have been several threads about this in the past, but none of
them seemed to offer any answers...

-- 
Grant Edwards               grant.b.edwards        Yow! I want a VEGETARIAN
                                  at               BURRITO to go ... with
                              gmail.com            EXTRA MSG!!

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

end of thread, other threads:[~2012-04-28 14:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 17:42 [Buildroot] How do you add to library path? Grant Edwards
2012-04-26 20:12 ` Bernhard Reutner-Fischer
2012-04-27 22:18 ` Arnout Vandecappelle
2012-04-28 10:44   ` Michael S. Zick
2012-04-28 11:15     ` Bernhard Reutner-Fischer
2012-04-28 14:13       ` Arnout Vandecappelle
2012-04-28 14:53   ` Grant Edwards

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.