All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] question: used wrong librarys to build packages
@ 2024-05-03  7:42 Stefan Müller via buildroot
  2024-05-03 15:32 ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Müller via buildroot @ 2024-05-03  7:42 UTC (permalink / raw)
  To: buildroot@buildroot.org


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

Hi guys

how is it possible that buildroot builds packages and links them against libraries that do not exist in buildroot (only on the host system, not below the buildroot directory)? - i am a bit confused now.
i downloaded buildroot 2024.02.01 and just copied my configs into it.

many of the built packages are now linked against libssl.so.1.1 (but buidroot uses openssl 3):
example:
build@build:~/buildroot/output/target/usr/sbin$ ldd NetworkManager
./NetworkManager: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./NetworkManager)
./NetworkManager: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./NetworkManager)
./NetworkManager: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./NetworkManager)
./NetworkManager: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./NetworkManager)
        linux-vdso.so.1 (0x00007ffe9f755000)
        libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f2b90e93000)
<snip>
...
<snip>
        libssh.so.4 => /lib/x86_64-linux-gnu/libssh.so.4 (0x00007f2b9040d000)
        libpsl.so.5 => /lib/x86_64-linux-gnu/libpsl.so.5 (0x00007f2b903fa000)
        libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f2b90367000)
        libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f2b90090000)

but:
build@build:~/buildroot/output/target/usr/sbin$ find ../../../host/ -name libssl*
../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig/libssl.pc
../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so.3
../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so
../../../host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libssl.a
../../../host/lib/pkgconfig/libssl.pc
../../../host/lib/libssl.so.3
../../../host/lib/libssl.so
../../../host/lib/libssl.a
build@build:~/buildroot/output/target/usr/sbin$

and (host system that runs buildroot):
build@build:~/buildroot/output/target/usr/sbin$ find /usr -name libssl*
/usr/lib/x86_64-linux-gnu/pkgconfig/libssl.pc
/usr/lib/x86_64-linux-gnu/libssl.so
/usr/lib/x86_64-linux-gnu/libssl.so.1.1
/usr/lib/x86_64-linux-gnu/libssl.a
/usr/lib/x86_64-linux-gnu/libssl3.so
/usr/share/doc/libssl1.1
/usr/share/doc/libssl-dev
build@build:~/buildroot/output/target/usr/sbin$

shouldn't buildroot use the libraries that are inside the buildroot directory?
Can anyone help me find out what is wrong?
thanks

[-- Attachment #1.2: Type: text/html, Size: 7152 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] 4+ messages in thread

end of thread, other threads:[~2024-05-06 12:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-03  7:42 [Buildroot] question: used wrong librarys to build packages Stefan Müller via buildroot
2024-05-03 15:32 ` Yann E. MORIN
2024-05-06 11:32   ` Stefan Müller via buildroot
2024-05-06 12:41     ` Stefan Müller via buildroot

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.