All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Forcing linker to look at right library path?
@ 2023-03-13 23:33 C D
  2023-03-14  7:58 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 7+ messages in thread
From: C D @ 2023-03-13 23:33 UTC (permalink / raw)
  To: buildroot@buildroot.org


[-- Attachment #1.1: Type: text/plain, Size: 761 bytes --]

Good afternoon,

I'm running in to an issue with a package linking against libubsan and libasan.  I've figured out how to compile Buildroot so that it copies those libraries to the correct output/target/lib and output/target/lib64 locations, but it seems like the package is linking to the versions installed in my OS (RHEL 8.7) in /usr/lib64 instead.

So, in /usr/lib64 I have libasan.so.5 and libubsan.so.1, and in Buildroot's output/target/lib64 I have libasan.so.6; when I boot into Buildroot and run my program, it errors out because it's looking for libasan.so.5.

What do I need to do for it to point to the correct library location when linking?  Is this a Buildroot config option, or something I need to set up in my Makefile?

Thanks,
Chris

[-- Attachment #1.2: Type: text/html, Size: 2672 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2023-03-15 19:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.10087.1678750430.50374.buildroot@buildroot.org>
2023-03-14  7:46 ` [Buildroot] Forcing linker to look at right library path? Andreas Ziegler
2023-03-13 23:33 C D
2023-03-14  7:58 ` Thomas Petazzoni via buildroot
2023-03-14 18:43   ` C D
2023-03-14 21:07     ` Thomas Petazzoni via buildroot
2023-03-15  7:18     ` Peter Korsgaard
2023-03-15 19:59       ` C D

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.