LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-29-2024, 03:08 AM   #1
RXQ
LQ Newbie
 
Registered: Jan 2022
Posts: 4

Rep: Reputation: 0
Question Can I run Node.js 20 on Slackware 14.2


I develop an app that needs to run on both Slackware 14.2 and 15.0
In the CI pipeline by Azure DevOps there are two Slackware containers running the build.
(App is distributed as source, but the CI verifies that it compiles for both)

The Slackware 14.2 build currently shows this warning about Node.js

Quote:
##[warning]The container operating system doesn't support Node20. Using Node16 instead. Please upgrade the operating system of the container to remain compatible with future updates of tasks: https://github.com/nodesource/distributions
This is not a problem now, but it may be in the future.

I looked into upgrading Node.js, but failed:
- I changed the version in the 14.2 Slackbuild, but the the folder structure is different now.
- I tried the 15.0 Slackbuild on 14.0, but it requires a newer version of gcc (> 10)
- The binary distribution doesn't work, because of incompatible glibc:
root@64ecb24028c2 (32bit):/nodejs/node-v20.11.0-linux-x64/bin# ./node
./node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by ./node)
./node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./node)
./node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by ./node)
- I tried the 15.0 Slackbuild with a custom toolchain (with old glibc), but ran into issues with openssl. The one on SL14.2 might be too old.

Is there any chance to pull this off? Or is it just not feasible?
 
Old 01-30-2024, 12:29 PM   #2
emidevices
Member
 
Registered: May 2016
Location: In a village of La Mancha
Distribution: Slackware, Devuan, NetBSD
Posts: 62

Rep: Reputation: Disabled
Code:
####################################################################
# NOTICE OF INPENDING EOL (END OF LIFE) FOR OLD SLACKWARE VERSIONS #
#                                                                  #
# Effective January 1, 2024, security patches will no longer be    #
# provided for the following versions of Slackware (which will all #
# be more than 7 years old at that time):                          #
#   Slackware 14.0, Slackware 14.1, Slackware 14.2.                #
# If you are still running these versions you should consider      #
# migrating to a newer version (preferably as recent as possible). #
# Alternately, you may make arrangements to handle your own        #
# security patches.                                                #
####################################################################
Slackware 14.2 is EOL. Maybe it's easier to upgrade or rebuild that container to 15.0 than deal with Node.js issues
 
1 members found this post helpful.
Old 02-01-2024, 01:57 AM   #3
RXQ
LQ Newbie
 
Registered: Jan 2022
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the info.

The migration to SL15 is ongoing. I have containers for both 14.2 and 15 in a CI pipeline to be able to support both for the time being.
Was hoping to keep 14.2 around for a bit longer, but this dependency for Node.js looks like trouble.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rhel 2 node cluster: resources do not move to second node when node halted tapuhi Linux - Software 1 03-01-2015 10:41 AM
node recovery when the node becomes fault by using another node to replace it jerinc Linux - Wireless Networking 0 02-21-2014 05:44 PM
How to transfer the services from node 1 to node 2 ,if node 1 is directly turned off sankarg304 Linux - Server 1 12-12-2012 10:06 AM
JavaScript:: alert(node) shows null, but node != null taylor_venable Programming 1 05-01-2006 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration