Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Oct 25, 2023
1 parent c412868 commit 8d6d41c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 4.51.1 (2023-10-25)

### Bug Fixes
- Fixes for Updating Node.js from vx.xx to v20.9.0...fails, node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node) ([3453](https://github.com/homebridge/homebridge/issues/3453])

## 4.51.0 (2023-10-23)

### Notable Changes
Expand Down
5 changes: 5 additions & 0 deletions src/bin/platforms/linux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,11 @@ export class LinuxInstaller extends BasePlatform {
`Wanted: >=2.28. Installed: ${glibcVersion}`, 'fail');
process.exit(1);
}
if (semver.gte(job.target, '20.0.0') && glibcVersion < 2.29) {
this.hbService.logger('Your version of Linux does not meet the GLIBC version requirements to use this tool to upgrade Node.js. ' +
`Wanted: >=2.29. Installed: ${glibcVersion}`, 'fail');
process.exit(1);
}
}
} catch (e) {
const osInfo = await si.osInfo();
Expand Down

0 comments on commit 8d6d41c

Please sign in to comment.