Update getting-started.md

This commit is contained in:
V-X 2019-10-10 13:05:52 -05:00 committed by GitHub
parent 7b2e8cb634
commit 16737c5db0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -39,12 +39,12 @@ From there we're good to go as long as we have `gcc` in our path we can run
go build
```
**Note for Linux users**
- Linux by default only looks for shared objects at a specific system path, if you would preffer to load the shared objects from a different directory, simple set the `LD_LIBRARY_PATH` environment variable to the new directory containing the libraries. (`.` being current directory)
Now that we have a binary we're almost done. If you try to run it now, or, if you ran
```
go run main.go
```
You will likely have ran into an error. This is because we are dynamically linking to Ultralight, meaning that it's libraries are resolved when the application is started. To fix this, you'll need the take the [Ultralight Libraries](https://github.com/ultralight-ux/ultralight#getting-the-latest-sdk) (`.dll` for Windows, `.so` for Unix, `.dylib` for Darwin) and put them in the same directory as your application.
**Note for Linux users**
- Linux by default only looks for shared objects at a specific system path, if you would preffer to load the shared objects from a different directory, simply set the `LD_LIBRARY_PATH` environment variable to the new directory containing the libraries. (`.` being current directory)