Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] How do I include glibc versions needed by node in my buildroot config?
@ 2024-08-27 23:31 Daryl Spitzer
  2024-08-28 15:41 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Daryl Spitzer @ 2024-08-27 23:31 UTC (permalink / raw)
  To: buildroot


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

I'm building a root filesystem using buildroot (running on Ubuntu 22.04.4
LTS) for an ARM Cortex-A7 target. I'm including Node.js by selecting "[*]
nodejs" in Target packages ---> Interpreter languages and scripting --->.

After successfully flashing and booting the target, I run node in /usr/bin/ and
get:

/usr/bin # ./node
./node: /lib/libm.so.6: version `GLIBC_2.38' not found (required by ./node)
./node: /lib/libm.so.6: version `GLIBC_2.29' not found (required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libstdc++.so.6: no version information available
(required by ./node)
./node: /lib/libc.so.6: version `GLIBC_2.33' not found (required by ./node)
./node: /lib/libc.so.6: version `GLIBC_2.34' not found (required by ./node)
./node: /lib/libc.so.6: version `GLIBC_2.32' not found (required by ./node)
./node: /lib/libc.so.6: version `GLIBC_2.38' not found (required by ./node)
./node: /lib/libc.so.6: version `GLIBC_2.32' not found (required by
/usr/lib/libuv.so.1)
./node: /lib/libc.so.6: version `GLIBC_2.38' not found (required by
/usr/lib/libuv.so.1)
./node: /lib/libc.so.6: version `GLIBC_2.33' not found (required by
/usr/lib/libuv.so.1)
./node: /lib/libc.so.6: version `GLIBC_2.34' not found (required by
/usr/lib/libuv.so.1)
./node: /lib/libc.so.6: version `GLIBC_2.34' not found (required by
/usr/lib/libcares.so.2)
./node: /lib/libc.so.6: version `GLIBC_2.33' not found (required by
/usr/lib/libcares.so.2)
./node: /lib/libc.so.6: version `GLIBC_2.36' not found (required by
/usr/lib/libcares.so.2)
./node: /lib/libc.so.6: version `GLIBC_2.38' not found (required by
/usr/lib/libcares.so.2)
./node: /lib/libc.so.6: version `GLIBC_2.38' not found (required by
/usr/lib/libcrypto.so.3)
./node: /lib/libc.so.6: version `GLIBC_2.33' not found (required by
/usr/lib/libcrypto.so.3)
./node: /lib/libc.so.6: version `GLIBC_2.34' not found (required by
/usr/lib/libcrypto.so.3)
./node: /lib/libc.so.6: version `GLIBC_2.33' not found (required by
/usr/lib/libssl.so.3)
./node: /lib/libc.so.6: version `GLIBC_2.34' not found (required by
/usr/lib/libssl.so.3)

I don't see how to change the buildroot config to include the required
versions of GLIBC.

The only glibc-related config options I see (in make nconfig) is "Enable
compatibility shims to run on older kernels" in Toolchain --->, which I
checked.


(I also posted this to
https://stackoverflow.com/questions/78921025/how-do-i-include-glibc-versions-needed-by-node-in-my-buildroot-config
.)


--
Daryl Spitzer

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

* Re: [Buildroot] How do I include glibc versions needed by node in my buildroot config?
  2024-08-27 23:31 [Buildroot] How do I include glibc versions needed by node in my buildroot config? Daryl Spitzer
@ 2024-08-28 15:41 ` Thomas Petazzoni via buildroot
  2024-08-28 22:01   ` Daryl Spitzer
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-28 15:41 UTC (permalink / raw)
  To: Daryl Spitzer; +Cc: buildroot

Hello Daryl,

On Tue, 27 Aug 2024 16:31:03 -0700
Daryl Spitzer <daryl.spitzer@gmail.com> wrote:

> I'm building a root filesystem using buildroot (running on Ubuntu 22.04.4
> LTS) for an ARM Cortex-A7 target. I'm including Node.js by selecting "[*]
> nodejs" in Target packages ---> Interpreter languages and scripting --->.

Could you please specify which Buildroot version you are using, and
provide a Buildroot .config file that exhibits the issue?

Thanks,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] How do I include glibc versions needed by node in my buildroot config?
  2024-08-28 15:41 ` Thomas Petazzoni via buildroot
@ 2024-08-28 22:01   ` Daryl Spitzer
  0 siblings, 0 replies; 3+ messages in thread
From: Daryl Spitzer @ 2024-08-28 22:01 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: buildroot


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

Thank you for responding here and on StackOverflow Thomas.

A commenter on my StackOverflow question guessed that I did a build without
nodejs, then changed the toolchain options (to be able to enable nodejs),
and didn't do a make clean. After a make clean I was able to successfully
run node --version on the target.

Sorry to waste your time.

--
Daryl



On Wed, Aug 28, 2024 at 8:41 AM Thomas Petazzoni <
thomas.petazzoni@bootlin.com> wrote:

> Hello Daryl,
>
> On Tue, 27 Aug 2024 16:31:03 -0700
> Daryl Spitzer <daryl.spitzer@gmail.com> wrote:
>
> > I'm building a root filesystem using buildroot (running on Ubuntu 22.04.4
> > LTS) for an ARM Cortex-A7 target. I'm including Node.js by selecting "[*]
> > nodejs" in Target packages ---> Interpreter languages and scripting --->.
>
> Could you please specify which Buildroot version you are using, and
> provide a Buildroot .config file that exhibits the issue?
>
> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
>

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

end of thread, other threads:[~2024-08-28 22:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27 23:31 [Buildroot] How do I include glibc versions needed by node in my buildroot config? Daryl Spitzer
2024-08-28 15:41 ` Thomas Petazzoni via buildroot
2024-08-28 22:01   ` Daryl Spitzer

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