# Cairo.jl / Luxor.jl alternatives (segfaults)

**URL:** https://discourse.julialang.org/t/cairo-jl-luxor-jl-alternatives-segfaults/21831
**Category:** General Usage
**Created:** [March 13, 2019, 6:28pm UTC](https://discourse.julialang.org/t/cairo-jl-luxor-jl-alternatives-segfaults/21831 "2019-03-13T18:28:30Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)
#### Post date: [March 13, 2019, 6:28pm UTC](https://discourse.julialang.org/t/cairo-jl-luxor-jl-alternatives-segfaults/21831/1 "2019-03-13T18:28:30Z")

</div>

I would like to create a meme generator API for a Julia blog post - and I wanted to use Luxor.jl for loading an image and adding some text on top of it. However Cairo.jl segfaults upon installation. Are there any other libraries to easily implement this? Thanks!

```julia
signal (11): Segmentation fault: 11
│ in expression starting at /Users/adrian/.julia/packages/Cairo/CXPG1/deps/build.jl:165
│ _platform_strcmp at /usr/lib/system/libsystem_platform.dylib (unknown line)
│ Allocations: 20864208 (Pool: 20861005; Big: 3203); GC: 46

julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin14.5.0)
  CPU: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)

```

---

<div class="post-metadata">

### Author: ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)
#### Post date: [March 13, 2019, 7:14pm UTC](https://discourse.julialang.org/t/cairo-jl-luxor-jl-alternatives-segfaults/21831/2 "2019-03-13T19:14:04Z")

</div>

Ha, yes, Cairo started segfaulting (on macOS) last week… You could try Compose,jl…

---

<div class="post-metadata">

### Author: ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)
#### Post date: [March 14, 2019, 9:53pm UTC](https://discourse.julialang.org/t/cairo-jl-luxor-jl-alternatives-segfaults/21831/3 "2019-03-14T21:53:24Z")

</div>

Thank you, I’ll give it a try.

---

<div class="post-metadata">

### Author: ![Topias\_Karjalainen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/topias_karjalainen/32/9747_2.png) [@Topias\_Karjalainen](https://discourse.julialang.org/u/Topias_Karjalainen)
#### Post date: [March 27, 2019, 12:28pm UTC](https://discourse.julialang.org/t/cairo-jl-luxor-jl-alternatives-segfaults/21831/4 "2019-03-27T12:28:06Z")

</div>

Any idea when possible fix will come? I run into same problem trying to load VegaLite.

---

<div class="post-metadata">

### Author: ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)
#### Post date: [March 27, 2019, 12:57pm UTC](https://discourse.julialang.org/t/cairo-jl-luxor-jl-alternatives-segfaults/21831/5 "2019-03-27T12:57:28Z")

</div>

Hi there! If you look at the latest issue at Cairo.jl (on GitHub) you’ll see that there’s been some crowd-sourced problem solving going on. You might be able to download a working version of the dodgy dylib and get Cairo working again.

That’s not to say that the problem is fixed, though. The possible work round might help for now.

---

<div class="post-metadata">

### Author: ![harisf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/harisf/32/7693_2.png) [@harisf](https://discourse.julialang.org/u/harisf)
#### Post date: [April 21, 2019, 4:24pm UTC](https://discourse.julialang.org/t/cairo-jl-luxor-jl-alternatives-segfaults/21831/6 "2019-04-21T16:24:07Z")

</div>

I was just struggling with the same `Segmentation fault: 11` error while building Cairo, and [this comment](https://github.com/JuliaGraphics/Cairo.jl/issues/271#issuecomment-476827465) from Github solved it for me.
