Skip to content

"Error requiring Fontconfig from Compose" #107

Description

@JJ

After failing to compile a script from the command line, I've tried to compile it via the Julia REPL, and it's succeeded, although it generates the executable in a weird place and it weighs 800 megabytes. When I'm trying to run it, however, I get:

Warning: Error requiring `Fontconfig` from `Compose`
│   exception =
│    LoadError: could not load symbol "FcPatternCreate":
│    bin/BBOB-with-baseline: undefined symbol: FcPatternCreate

This seems to be a warning, however... This fails:

fatal: error thrown and no exception handler available.
MethodError(f=Base.convert, args=(Int32, nothing), world=0x0000000000009aa5)
jl_method_error_bare at /cache/build/tester-amdci4-14/julialang/julia-release-1-dot-12/src/gf.c:3039
jl_method_error at /cache/build/tester-amdci4-14/julialang/julia-release-1-dot-12/src/gf.c:3057
jl_f_throw_methoderror at /cache/build/tester-amdci4-14/julialang/julia-release-1-dot-12/src/builtins.c:608 [inlined]
jl_f_throw_methoderror at /cache/build/tester-amdci4-14/julialang/julia-release-1-dot-12/src/builtins.c:604
cconvert at ./essentials.jl:687
exit at ./initdefs.jl:28

I compiled it with

img = ImageRecipe(
           output_type = "--output-exe",
           file        = "examples/BBOB_sphere_with_baseline.jl",
           add_ccallables = false,
           verbose     = true,
       )

Should I have added the "ccallables"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbundlingRelated to --bundle and library packaging

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions