(master) Cairo.libcairo pointing to?
lobingera opened this issue · comments
This came a little bit unexpected ...
lobi@orange4:~$ ./julia-1.2.0/bin/julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.2.0 (2019-08-20)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Cairo
julia> Cairo.l
layout_text libgobject_version libpangocairo_version
libcairo libpango line_to
libcairo_version libpango_version
libgobject libpangocairo
julia> Cairo.libcairo
"/home/lobi/.julia/dev/Cairo/deps/usr/lib/libcairo-script-interpreter.so"
seems to be working still (pkg test Cairo, using Cairo).
@giordano @staticfloat
"Problem" known, and I think fixed in Pkg that will be in Julia v1.3. It works anyway in this case because libcairo-script-interpreter.so
is linked against libcairo.so
"Problem known" - means issue?
The problem is that BinaryProvider
is picking up the wrong library (that's an unfortunate effect of how library detection works now: it uses for the first whose name starts with libcairo
and can be dlopen
ed). In practice, this should be a non-issue because libcairo-script-interpreter.so
is linked to libcairo.so
.
Instead, with #293 I get the following:
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _ | |
| | |_| | | | (_| | | Version 1.4.0-DEV.98 (2019-09-06)
_/ |\__'_|_|_|\__'_| | Commit f71f58e32d (1 day old master)
|__/ |
julia> using Cairo
julia> Cairo.libcairo
"libcairo.so.2"