# Bad interactions between ProfileView, Makie and ImageMagick?

**URL:** https://discourse.julialang.org/t/bad-interactions-between-profileview-makie-and-imagemagick/22516
**Category:** General Usage
**Tags:** packages
**Created:** [March 29, 2019, 9:35pm UTC](https://discourse.julialang.org/t/bad-interactions-between-profileview-makie-and-imagemagick/22516 "2019-03-29T21:35:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ffevotte](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffevotte/32/6587_2.png) [@ffevotte](https://discourse.julialang.org/u/ffevotte)
#### Post date: [March 29, 2019, 9:35pm UTC](https://discourse.julialang.org/t/bad-interactions-between-profileview-makie-and-imagemagick/22516/1 "2019-03-29T21:35:12Z")

</div>

While trying to install Makie, I noticed the following behavior:

```julia
shell$ julia -q
julia> using Makie
julia> using ProfileView

```

while

```julia
shell$ julia -q
julia> using ProfileView
julia> using Makie
ERROR: InitError: /tmp/.julia/packages/ImageMagick/d5KBL/deps/usr/lib/libpng16.so cannot be opened, Please re-run Pkg.build("ImageMagick"), and restart Julia.
Stacktrace:
[...]
during initialization of module ImageMagick

```

  

* * *

Below is a complete setup allowing to reproduce the isue, at least on my system (Debian stretch, in case it matters). Can anyone try and reproduce the issue? In case it is a reproducible bug, what kind of method could be used to try and determine where the error lies?

> **Steps to reproduce**
>
> Clean environment setup:
> 
> ```julia
> shell$ mkdir /tmp/.julia
> 
> shell$ JULIA_DEPOT_PATH=/tmp/.julia julia -q
> (v1.1) pkg> add Makie ProfileView
> julia> using Makie
> julia> using ProfileView
> julia> exit()
> 
> ```
> 
> This works:
> 
> ```julia
> shell$ JULIA_DEPOT_PATH=/tmp/.julia julia -q
> julia> using Makie
> julia> using ProfileView
> julia> exit()
> 
> ```
> 
> This errors out:
> 
> ```julia
> shell$ JULIA_DEPOT_PATH=/tmp/.julia julia -q
> julia> using ProfileView
> julia> using Makie
> # Error
> 
> ```
