Ok, this helped. I renamed the file deps.jl and now everything works fine.
Content of the deps.jl file:
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
Any idea were this wrong file is coming from and how to fix the error in
the package?
Regards: Uwe
On Sunday, September 28, 2014 6:39:09 PM UTC+2, Jameson wrote:
>
> Is BinDeps generating a corrupt `deps.jl` file? Try deleting that and
> seeing if it works.
>
> On Sun, Sep 28, 2014 at 8:42 AM, Uwe Fechner <[email protected]
> <javascript:>> wrote:
>
>> I found:
>> ufechner@uwe-desktop64:/lib/x86_64-linux-gnu$ ls libgl*
>> libglib-2.0.so.0 libglib-2.0.so.0.3200.4
>>
>> The file ~/.julia/v0.3/Gtk/deps/ext_glib.jl contains:
>> if isfile(_depspath)
>> include(_depspath)
>> else
>> if OS_NAME == :Windows
>> const libgobject = "libgobject-2.0-0"
>> const libglib = "libglib-2.0-0"
>> else
>> const libgobject = "libgobject-2.0"
>> const libglib = "libglib-2.0"
>> end
>> end
>>
>> For me, this looks correct. Any idea?
>>
>> Regards:
>>
>> Uwe
>>
>>
>>
>> On Sunday, September 28, 2014 2:29:39 PM UTC+2, Andreas Lobinger wrote:
>>>
>>> The error message is on glib. Check, where it resides and what version
>>> number it has. Then see, if deps,jl is matching.
>>>
>>> On Sunday, September 28, 2014 2:15:47 PM UTC+2, Uwe Fechner wrote:
>>>>
>>>> I updated all Ubuntu packages, deleted the .julia folder and
>>>> reinstalled Gtk, using
>>>> Pkg.add("Gtk").
>>>>
>>>> Still the same problem.
>>>>
>>>> Any idea?
>>>>
>>>> Regards:
>>>>
>>>> Uwe
>>>>
>>>> On Sunday, September 28, 2014 1:20:37 PM UTC+2, Tim Holy wrote:
>>>>>
>>>>> Are your packages up-to-date?
>>>>>
>>>>> Also, the README should be updated; these days, just Pkg.add("Gtk")
>>>>> should be
>>>>> sufficient.
>>>>>
>>>>> --Tim
>>>>>
>>>>> On Sunday, September 28, 2014 02:42:36 AM Uwe Fechner wrote:
>>>>> > Hello,
>>>>> >
>>>>> > I installed Gtk.jl as described at https://github.com/JuliaLang/
>>>>> Gtk.jl .
>>>>> >
>>>>> > Nevertheless, using Gtk fails:
>>>>> >
>>>>> > julia> using Gtk
>>>>> > ERROR: libgobject not defined
>>>>> > in anonymous at no file
>>>>> > in include at ./boot.jl:245
>>>>> > in include_from_node1 at ./loading.jl:128
>>>>> > in include at ./boot.jl:245
>>>>> > in include_from_node1 at ./loading.jl:128
>>>>> > in reload_path at loading.jl:152
>>>>> > in _require at loading.jl:67
>>>>> > in require at loading.jl:51
>>>>> > while loading /home/ufechner/.julia/v0.3/Gtk/src/GLib/GLib.jl, in
>>>>> > expression starting on line 34
>>>>> > while loading /home/ufechner/.julia/v0.3/Gtk/src/Gtk.jl, in
>>>>> expression
>>>>> > starting on line 6
>>>>> >
>>>>> > julia>
>>>>> >
>>>>> > My versioninfo:
>>>>> >
>>>>> > julia> versioninfo()
>>>>> > Julia Version 0.3.1
>>>>> > Commit c03f413 (2014-09-21 21:30 UTC)
>>>>> > Platform Info:
>>>>> > System: Linux (x86_64-linux-gnu)
>>>>> > CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
>>>>> > WORD_SIZE: 64
>>>>> > BLAS: libopenblas (NO_LAPACK NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY
>>>>> > Sandybridge)
>>>>> > LAPACK: liblapack.so.3
>>>>> > LIBM: libopenlibm
>>>>> > LLVM: libLLVM-3.3
>>>>> >
>>>>> > julia>
>>>>> >
>>>>> > Any idea how to fix this?
>>>>> >
>>>>> > Best regards:
>>>>> >
>>>>> > Uwe Fechner
>>>>>
>>>>>
>