Skip to content
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

How to install wasm-ld (on Linux Mint or otherwise) #4

Closed
drhuffman12 opened this issue Jan 6, 2023 · 1 comment
Closed

How to install wasm-ld (on Linux Mint or otherwise) #4

drhuffman12 opened this issue Jan 6, 2023 · 1 comment

Comments

@drhuffman12
Copy link

drhuffman12 commented Jan 6, 2023

I tried to build src/main.cr via:

$ lib/js/scripts/build.sh src/main.cr --release

... and was told I still need wasm-ld:

Please install wasm-ld

Where/how do I get wasm-ld installed? (I'm on Linux Mint.)

See: https://github.com/drhuffman12/crystal-web-example

@drhuffman12
Copy link
Author

drhuffman12 commented Jan 6, 2023

It looks like I have lld-10 already installed, which apparently comes with wasmld, based on https://command-not-found.com/wasm-ld .

$ sudo apt-get install lld-10
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lld-10 is already the newest version (1:10.0.0-4ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant