Genie Discord forum

Author Avatarctl
10/8/2023, 10:54:56 AM

Genie.Generator.newapp_mvc(<...>) throws

ERROR: LoadError: InitError: could not load library "~/.julia/artifacts/bfe66c4df465af0bde5e6d003cd71d40c8ae63e9/lib/mariadb/libmariadb.3.dylib"
...

And then it fails to precompile MySQL or Postgres

Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 12 × Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
  Threads: 1 on 8 virtual cores

I've tried deleting the file to no avail

Author AvatarPere
10/9/2023, 8:52:54 AM

I haven't tried using DBs other than SQLite, so I don't know what could be causing this issue. Can you open an issue on the SearchLight repository with the following info?

  • Full error traces
  • Code and DB configuration
  • Package versions
  • System specs

I'll look into it and try to reproduce the error.