You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading netcore runtime to version 3.0, the libsass.so began to require the GLIBCXX_3.4.20 and GLIBCXX_3.4.21 dependencies, which are not in the latest libstdc++package-4.8.5-39.el7.x86_64 for CentOS 7.
What can we do about it?
Server Logs
Request starting HTTP/1.1 GET http://10.177.0.2/scss/site.min.css?v=efwvm_Fxv1Qm70jrriRu9NgbBNA
info: WebOptimizer.AssetMiddleware[1000]
Request started for '/scss/site.min.css'
fail: Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HLQ2G5LK0LNF", Request id "0HLQ2G5LK0LNF:00000001": An unhandled exception was thrown by the application.
System.DllNotFoundException: Unable to load shared library 'libsass' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG en
at SharpScss.LibSass.sass_alloc_memory(size_t size)
at SharpScss.LibSass.StringUtf8.op_Implicit(String text)
at SharpScss.Scss.FromCore(String fromStringOrFile, Boolean fromFile, ScssOptions options)
at SharpScss.Scss.ConvertToCss(String scss, ScssOptions options)
at WebOptimizer.Sass.Compiler.ExecuteAsync(IAssetContext context)
at WebOptimizer.Asset.ExecuteAsync(HttpContext context, IWebOptimizerOptions options)
at WebOptimizer.AssetBuilder.BuildAsync(IAsset asset, HttpContext context, IWebOptimizerOptions options)
at WebOptimizer.AssetMiddleware.HandleAssetAsync(HttpContext context, IAsset asset, WebOptimizerOptions options)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished in 7.1930000000000005ms 500
ldd libsass.so
./libsass.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./libsass.so)
./libsass.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./libsass.so)
linux-vdso.so.1 => (0x00007ffe51d15000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007f035aae6000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f035a7df000)
libm.so.6 => /usr/lib64/libm.so.6 (0x00007f035a4dd000)
libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f035a2c7000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007f0359efa000)
/lib64/ld-linux-x86-64.so.2 (0x00007f035b1ab000)
dotnet --info
Host (useful for support):
Version: 3.0.0
Commit: 7d57652f33
.NET Core SDKs installed:
No SDKs were found.
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.0.0 [/usr/share/dotnet3/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.0.0 [/usr/share/dotnet3/shared/Microsoft.NETCore.App]
Hi, I got a problem related to this issue.
After upgrading netcore runtime to version 3.0, the libsass.so began to require the
GLIBCXX_3.4.20
andGLIBCXX_3.4.21
dependencies, which are not in the latestlibstdc++package-4.8.5-39.el7.x86_64
for CentOS 7.What can we do about it?
Server Logs
ldd libsass.so
dotnet --info
strings /lib64/libstdc++.so.6 | grep GLIB
The text was updated successfully, but these errors were encountered: