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

undefined symbol: ulViewGetJSContext #46

Open
ryanerwin opened this issue Aug 13, 2020 · 1 comment
Open

undefined symbol: ulViewGetJSContext #46

ryanerwin opened this issue Aug 13, 2020 · 1 comment

Comments

@ryanerwin
Copy link

 ~/Dev/muon/examples/create-react-app git:master / 247d 23h 50m
 ❯ go build -ldflags="-r ." -o example-app

 ❯ ./example-app
Writing log to: /home/ryan/.cache/MyCompany-MyApp/ultralight.log
./example-app: symbol lookup error: ./example-app: undefined symbol: ulViewGetJSContext

I believe the .so libraries are being found, because when I move them to a different directory I get:

 ~/Dev/muon/examples/create-react-app git:master / 247d 23h 50m
 ❯ ./example-app
./example-app: error while loading shared libraries: libWebCore.so: cannot open shared object file: No such file or directory

Not sure if this is a version difference in ultralight, or if I've just got something configured incorrectly.

@ryanerwin
Copy link
Author

Downloading the December 14th 2019 release of Ultralight and copying those libraries into the Muon example completely fixed this for me.

Ultralight doesn't yet have much release history in their github releases, they just provided a link to an XML file of their S3 "Ultralight SDK" bucket hosted on digital ocean...

https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/

For me on Linux x64 that's:

https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-09a3d2e-linux-x64.7z

For Darwin x64, I believe that would be:

https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-09a3d2e-mac-x64.7z

For Windows x64:

https://ultralight-sdk.sfo2.cdn.digitaloceanspaces.com/ultralight-sdk-09a3d2e-win-x64.7z

It looks like the new beta of Ultralight actually has a lot of new features, so it would be great if someone knows how to update Muon to be compatible with the later Muon release.

Once I switched out the library files, the example works great - and is quite impressive!

image

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