This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-12
Channels
- # ai (1)
- # announcements (7)
- # babashka (32)
- # beginners (23)
- # biff (9)
- # calva (1)
- # cljs-dev (13)
- # clojure (32)
- # clojure-belgium (1)
- # clojure-chicago (15)
- # clojure-europe (24)
- # clojure-india (3)
- # clojure-nl (3)
- # clojure-norway (55)
- # clojure-uk (4)
- # clojurebridge (1)
- # clojurescript (5)
- # core-async (17)
- # data-science (9)
- # datomic (29)
- # events (3)
- # fulcro (16)
- # graalvm-mobile (4)
- # helix (15)
- # hyperfiddle (74)
- # introduce-yourself (1)
- # jobs (4)
- # kaocha (12)
- # leiningen (27)
- # lsp (16)
- # shadow-cljs (6)
- # spacemacs (20)
- # sql (27)
- # squint (7)
- # tools-deps (29)
- # vim (2)
- # xtdb (10)
Hello. I got lots of help from https://github.com/phronmophobic/grease , but got in some problems with missing symbols. Looks like the static jdk libraries for iOS from GluonHQ are older than the GraalVM I am using. So for most of file-io and network operations, the native image is trying to call some functions that does not exist in the static libraries. Have anyone of you found a solution to this? I have tried with different graalvm-versions, tried/failed to build https://github.com/openjdk/mobile and looking for other static jdk library builds for iOS. I am not using Clojure for this project, just trying to cross-compile an old java code base to iOS and it seems like the Clojure community are some steps ahead.
I tried looking into this a bit, but some of the old links are broken. I then tried to check out the gluon samples, but my maven version was too old. I upgraded, but then my maven version was too new. Anyway, I'm not sure I'll get a chance to follow the rabbit trail for now. It seems like things are being kept up to date, https://github.com/gluonhq/substrate/issues/1154, but I haven't had a chance to look into it lately. You can look into substrate and it looks like gluon has their own build of graalvm. See: • https://github.com/gluonhq/graal/releases/tag/gluon-22.1.0.1-Final • https://github.com/gluonhq/substrate/issues/1117 Sorry I couldn't be more help. Please report back if you do get things working!
Thank you, @U7RJTCH6J!