Why doesn't it have the path to the ImageMagick libs? Let alone the __init__ 
function, which is what is triggering the error. Here's an example of what it 
should approximately look like:
https://github.com/timholy/Images.jl/issues/188#issuecomment-56418102
A "complete" deps.jl will also have the ImageMagick library version.

You might want to check Pkg.status() and see if you have an old copy of 
BinDeps or something. Also, check your Images/build.jl against the version at
https://github.com/timholy/Images.jl/blob/master/deps/build.jl

--Tim

On Friday, September 26, 2014 10:08:55 AM Adrian Cuthbertson wrote:
> Hi Tim,
> 
> deps.jl...
> 
> macro checked_lib(libname, path)
>         (dlopen_e(path) == C_NULL) && error("Unable to load \n\n$libname
> ($path)\n\nPlease re-run Pkg.build(package), and restart Julia.")
>         quote const $(esc(libname)) = $path end
>     end
> 
> and yes, I'm on OSX 10.8.5
> 
> Thanks, Adrian.
> 
> On Fri, Sep 26, 2014 at 9:19 AM, Tim Holy <[email protected]> wrote:
> > What does /Users/adrian/.julia/Images/deps/deps.jl look like?
> > 
> > By "Darwin" does this mean OSX, or are you running something else on that
> > machine?
> > 
> > --Tim
> > 
> > On Friday, September 26, 2014 08:43:10 AM Adrian Cuthbertson wrote:
> > > I had upgraded to 0.4 and then decided to revert to 0.3, with:
> > > git checkout release-0.3
> > > make cleanall
> > > make
> > > 
> > > I then did a Pkg.update(), but the Images update failed.
> > > Pkg.build("Images") also.
> > > Here's the info...
> > > 
> > > julia> BinDeps.debug("Images")
> > > INFO: Reading build script...
> > > ERROR: __init__ not defined
> > > 
> > >  in include at ./boot.jl:245
> > >  in include_from_node1 at ./loading.jl:128
> > >  in debug_context at /Users/adrian/.julia/BinDeps/src/debug.jl:54
> > >  in debug at /Users/adrian/.julia/BinDeps/src/debug.jl:59
> > >  in debug at /Users/adrian/.julia/BinDeps/src/debug.jl:65
> > > 
> > > while loading /Users/adrian/.julia/Images/deps/build.jl, in expression
> > > starting on line 77
> > > 
> > > julia> versioninfo()
> > > Julia Version 0.3.2-pre+23
> > > Commit db57e41* (2014-09-25 20:26 UTC)
> > > 
> > > Platform Info:
> > >   System: Darwin (x86_64-apple-darwin12.5.0)
> > >   CPU: Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
> > >   WORD_SIZE: 64
> > >   BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Core2)
> > >   LAPACK: libopenblas
> > >   LIBM: libopenlibm
> > >   LLVM: libLLVM-3.3
> > > 
> > > Any help appreciated,
> > > Adrian.

Reply via email to