-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RHEL7, v0.25.1, "CXXABI_1.3.8 not found" #2119
Comments
Hi, sharp defines Lines 127 to 130 in 4894c10
I suspect this relates to the internal N-API migration #1282 included from v0.25.0. When I compile locally I see the expected |
Updated all dependencies. Some latest version of dependencies such as bcrypt and sharp requires Node 10+. Updated fontello.css to uses latest version string from versions.js. When updating version strings in commit 2670db2, I forgot to rebuild this css.
Thanks for looking at it. Let me know if you need any other info to help |
It looks like migrating to N-API has placed a new dependency on the $ nm build/Release/sharp.node | grep CXXABI_1.3.8
U __cxa_throw_bad_array_new_length@@CXXABI_1.3.8 This might relate to exception handling in N-API and the use of A possible workaround on CentOS 7 is to use the https://sharp.pixelplumbing.com/install#building-from-source |
@lovell - I have encountered the same problem today (RHEL 7, sharp v0.25.1, message "CXXABI_1.3.8 not found" on I can confirm that |
The RHEL provides gcc v4.8.5 but The "fix" for this is probably going to be to generate the prebuilt binaries on RHEL/CentOS 7 and gcc v4.8.5 instead of Ubuntu Xenial and gcc v5.3.1 as is currently the case. |
Commit d8426b1 switches the Linux x64 glibc CI environment to use CentOS 7, so the prebuilt binaries provided by the future v0.25.2 release will be compatible again with RHEL7. |
v0.25.2 is now available, using Centos 7 for the prebuilt binaries. |
For anyone coming here with a similar error using sharp v0.33.0 or later, that's because the prebuilt binaries no longer support CentOS 7. The supported glibc and musl libc versions are documented at https://sharp.pixelplumbing.com/install#prebuilt-binaries There's some background at lovell/sharp-libvips#176 but the summary is that CentOS is essentially EOL and you'll experience better performance on the same hardware by switching to a more modern Linux. |
Yes
Yes, 0.25.1
Tried with & without
Not using, but have tried
Cut out a lot of the noise around other packages etc... no errors
Teamcity agent (CI system) running on CentOS 7
The NPM install of sharp and all other packages is working just fine. But as soon as the applications requires sharp we get the following error. This has only started happening since updating from 0.24.x, application will not work with version 0.25.1 of sharp but is fine with 0.24.1
The text was updated successfully, but these errors were encountered: