Buildroot: how to add libraries

Multi tool use
Multi tool use


Buildroot: how to add libraries



I am working on a buildroot project to make a small custom os. I only include the absolute necessary packages. One of the things I add is a precompiled program that uses certain libraries that are not included on the system. I want the system to include them, but I cannot find them in the buildroot menuconfig, linux-menuconfig or busybox-menuconfig.


menuconfig


linux-menuconfig


busybox-menuconfig



So my question is:
how do I add libraries to my system in buildroot?



I have tried searching for them in the menuconfigs and I have also tried to find information about this in the buildroot manual.



The libraries I want to include are:


ld-linux-armhf.so.3
libdl.so.2
libc.so.6



After some searching I have found that:


ld-linux-armhf.so.3


ld-2.*.*.so


libc


libc.so.2




1 Answer
1



The libraries you list are part of the C library, itself part of the toolchain. Buildroot will always provide those libraries, either by building a toolchain itself (what we call the internal toolchain backend) or by using an existing toolchain (what we call the external toolchain backend).





So how do I give the directive that those will be copied to the actual OS? Since they are not present in the final build.
– Steven
Jul 2 at 15:10






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

z W GD it8wv5QfT,JKW3EIAGNsbHDSD Xlnq50z n8,9wwnDEwbVYy,R
Kt,RiDBQcRwQhZ5i,BmaNI3 5c8b,FpkukNiAFdTEeWK6,VIypwtRno2R d10e,X,LIL3hea,2pq2aIYdKYxhWb1T3,YAR

Popular posts from this blog

Rothschild family

Cinema of Italy