Julia: Use troubleshoot - ProkopHapala/FireCore GitHub Wiki

Troubleshoot

  • readdir(),pwd(),cd('') - to get info abut files
  • using Revise - to interactively relod modules with type definities correctly

Plots.jl problem with compilation

  • Problem:
    • julia> Pkg.add("Plots") made problem with compilation of Cairo, HarfBuzz, Qt6Base, libass, Pango, Qt6ShaderTools, libdecor, Qt6Declarative, FFMPEG, GLFW, GR, Plots
    • this was due to mismatch in version of libglib2.0-0 (system:2.72, julia's:Glib_jl has 2.84) having problem with exported symbol g_dir_unref
  • Solutuion:
    • run like this unset LD_LIBRARY_PATH; julia
    • add this alias julia='env -u LD_LIBRARY_PATH julia' to .bashrc