René's URL Explorer Experiment


Title: Add support for Alpine and other musl-based Linux distributions · Issue #331 · ClearFoundry/ClearScript · GitHub

Open Graph Title: Add support for Alpine and other musl-based Linux distributions · Issue #331 · ClearFoundry/ClearScript

X Title: Add support for Alpine and other musl-based Linux distributions · Issue #331 · ClearFoundry/ClearScript

Description: Hi, We've recently discovered an issue while using ClearScript version 7.2.0. When trying to use ClearScript in an Alpine Docker Image, the following error occurs: Unhandled exception. System.TypeLoadException: Cannot load ClearScript V8...

Open Graph Description: Hi, We've recently discovered an issue while using ClearScript version 7.2.0. When trying to use ClearScript in an Alpine Docker Image, the following error occurs: Unhandled exception. System.TypeL...

X Description: Hi, We've recently discovered an issue while using ClearScript version 7.2.0. When trying to use ClearScript in an Alpine Docker Image, the following error occurs: Unhandled exception. System.T...

Opengraph URL: https://github.com/ClearFoundry/ClearScript/issues/331

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support for Alpine and other musl-based Linux distributions","articleBody":"Hi,\r\n\r\n We've recently discovered an issue while using ClearScript version 7.2.0. \r\n \r\n When trying to use ClearScript in an Alpine Docker Image, the following error occurs:\r\n \r\n \r\n ```\r\n Unhandled exception. System.TypeLoadException: Cannot load ClearScript V8 library. Load failure information for ClearScriptV8.linux-x64.so:\r\n/app/runtimes/linux-x64/native/ClearScriptV8.linux-x64.so: Unable to load shared library '/app/runtimes/linux-x64/native/ClearScriptV8.linux-x64.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /app/runtimes/linux-x64/native/ClearScriptV8.linux-x64.so)\r\n```\r\n\r\nAdding the glibc compatability layer to try and solve this causes the following error:\r\n \r\n ```\r\n terminate called after throwing an instance of 'std::system_error'\r\n  what():  No error information\r\n ```\r\n \r\n Going back to version 7.0.0 with the glibc compatability layer works in an Alpine image without issues. Maybe this was caused by the following change in 7.1?:\r\n\r\n`Switched to static linking of C/C++ libraries to broaden Linux support `\r\n\r\n\r\nSteps to reproduce\r\n\r\nCreate simple C# project using ClearScript 7.2.0\r\n\r\n```\r\nstatic void Main(string[] args)\r\n{\r\n\tvar engine = new V8ScriptEngine();\r\n\tengine.AddHostType(\"Console\", typeof(Console));\r\n\tengine.Evaluate(\"Console.WriteLine('Hello from JS')\");\r\n}\r\n``` \r\n\r\nBuild/Publish project (`dotnet build \u0026\u0026 dotnet publish`)\r\n\r\nBuild Docker image with:\r\n - Alpine base (such as `mcr.microsoft.com/dotnet/aspnet:5.0-alpine`)\r\n - Alpine's glibc compatability layer (`RUN apk add gcompat`)\r\n - Copy dotnet publish output and set the entrypoint to simple app\r\n \r\nRun the Docker image and output should be the error shown above\r\n \r\n ","author":{"url":"https://github.com/SeanMsi","@type":"Person","name":"SeanMsi"},"datePublished":"2021-12-07T21:18:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/331/ClearScript/issues/331"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:940a2758-e306-2c80-c92b-67c21c196225
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD906:8BCE9:E7BCBD:140BD16:696A3D5B
html-safe-nonce1dc4d4f5f145e223a557557260eb25573daa99ed7cd91b7d847eaa582812cfd2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTA2OjhCQ0U5OkU3QkNCRDoxNDBCRDE2OjY5NkEzRDVCIiwidmlzaXRvcl9pZCI6IjIyNzIwMjE2MjA5OTUwMTM5NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd12162a8585756770476b2540a7c447dd092f78cf1f08d028e2f4fff7e22dd30
hovercard-subject-tagissue:1073762653
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ClearFoundry/ClearScript/331/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6a3e6309f8632d222c5016c08d5a4d4cec2ef4c93a371fb832c2f0839bffae32/ClearFoundry/ClearScript/issues/331
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6a3e6309f8632d222c5016c08d5a4d4cec2ef4c93a371fb832c2f0839bffae32/ClearFoundry/ClearScript/issues/331
og:image:altHi, We've recently discovered an issue while using ClearScript version 7.2.0. When trying to use ClearScript in an Alpine Docker Image, the following error occurs: Unhandled exception. System.TypeL...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSeanMsi
hostnamegithub.com
expected-hostnamegithub.com
None321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538
turbo-cache-controlno-preview
go-importgithub.com/ClearFoundry/ClearScript git https://github.com/ClearFoundry/ClearScript.git
octolytics-dimension-user_id232231756
octolytics-dimension-user_loginClearFoundry
octolytics-dimension-repository_id90258367
octolytics-dimension-repository_nwoClearFoundry/ClearScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id90258367
octolytics-dimension-repository_network_root_nwoClearFoundry/ClearScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release13581a31d51edf4a3aca179e10890a4d4f9b6d76
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ClearFoundry/ClearScript/issues/331#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FClearFoundry%2FClearScript%2Fissues%2F331
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FClearFoundry%2FClearScript%2Fissues%2F331
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ClearFoundry%2FClearScript
Reloadhttps://github.com/ClearFoundry/ClearScript/issues/331
Reloadhttps://github.com/ClearFoundry/ClearScript/issues/331
Reloadhttps://github.com/ClearFoundry/ClearScript/issues/331
ClearFoundry https://github.com/ClearFoundry
ClearScripthttps://github.com/ClearFoundry/ClearScript
Notifications https://github.com/login?return_to=%2FClearFoundry%2FClearScript
Fork 161 https://github.com/login?return_to=%2FClearFoundry%2FClearScript
Star 2k https://github.com/login?return_to=%2FClearFoundry%2FClearScript
Code https://github.com/ClearFoundry/ClearScript
Issues 13 https://github.com/ClearFoundry/ClearScript/issues
Pull requests 6 https://github.com/ClearFoundry/ClearScript/pulls
Discussions https://github.com/ClearFoundry/ClearScript/discussions
Actions https://github.com/ClearFoundry/ClearScript/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/ClearFoundry/ClearScript/security
Please reload this pagehttps://github.com/ClearFoundry/ClearScript/issues/331
Insights https://github.com/ClearFoundry/ClearScript/pulse
Code https://github.com/ClearFoundry/ClearScript
Issues https://github.com/ClearFoundry/ClearScript/issues
Pull requests https://github.com/ClearFoundry/ClearScript/pulls
Discussions https://github.com/ClearFoundry/ClearScript/discussions
Actions https://github.com/ClearFoundry/ClearScript/actions
Security https://github.com/ClearFoundry/ClearScript/security
Insights https://github.com/ClearFoundry/ClearScript/pulse
New issuehttps://github.com/login?return_to=https://github.com/ClearFoundry/ClearScript/issues/331
New issuehttps://github.com/login?return_to=https://github.com/ClearFoundry/ClearScript/issues/331
Add support for Alpine and other musl-based Linux distributionshttps://github.com/ClearFoundry/ClearScript/issues/331#top
https://github.com/ClearScriptLib
enhancementhttps://github.com/ClearFoundry/ClearScript/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/SeanMsi
https://github.com/SeanMsi
SeanMsihttps://github.com/SeanMsi
on Dec 7, 2021https://github.com/ClearFoundry/ClearScript/issues/331#issue-1073762653
ClearScriptLibhttps://github.com/ClearScriptLib
enhancementhttps://github.com/ClearFoundry/ClearScript/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.