Le samedi 24 septembre 2016 à 06:17 -0700, Ján Adamčák a écrit : > Thanks, > > after installing > > sudo apt-get install libxml2-dev > > is LightXML fully working. Could you file an issue against LightXML.jl? It should be able to install the package automatically, or could even work without it.
Regards > I have another question: Why this dependency didn't resolved > automatically by Pkg.add("LightXML") ? > > > > > You might need the -dev version to get a plain "libxml2.so" in > > addition to the version with an soname in it. I thought Julia > > should be able to find the soname versions too, but maybe not? > > > > > > > I tried sudo apt-get install libxml2, but I got answer from > > > ubuntu: > > > > > > libxml2 is already the newest version (2.9.3+dfsg 1-1ubuntu0.1). > > > libxml2 is tagged as manually installed. > > > > > > But from julia I got same answer: > > > > > > ERROR: error compiling call: could not load library "libxml2" > > > > > > > > > > > > > Try > > > > > > > > sudo apt install libxml2 > > > > > > > > > > > > > > > > > Hi Guys, > > > > > > > > > > I tried use LightXML on Ubuntu 16.04, but I got an error: > > > > > > > > > > ERROR: error compiling call: could not load library "libxml2" > > > > > > > > > > Can You help me? > > > > > > > > > > Thanks. > > > > > > > > > > Log: > > > > > > > > > > _ > > > > > _ _ _(_)_ | A fresh approach to technical > > > > > computing > > > > > (_) | (_) (_) | Documentation: http://docs.julialang > > > > > .org > > > > > _ _ _| |_ __ _ | Type "?help" for help. > > > > > | | | | | | |/ _` | | > > > > > | | |_| | | | (_| | | Version 0.4.5 (2016-03-18 00:58 UTC) > > > > > _/ |\__'_|_|_|\__'_| | > > > > > |__/ | x86_64-linux-gnu > > > > > > > > > > julia> Pkg.status() > > > > > No packages installed > > > > > > > > > > julia> Pkg.add("LightXML") > > > > > INFO: Cloning cache of Compat from > > > > > git://github.com/JuliaLang/Compat.jl.git > > > > > INFO: Cloning cache of LightXML from > > > > > git://github.com/JuliaIO/LightXML.jl.git > > > > > INFO: Installing Compat v0.9.2 > > > > > INFO: Installing LightXML v0.4.0 > > > > > INFO: Building LightXML > > > > > INFO: Package database updated > > > > > INFO: METADATA is out-of-date — you may not have the latest > > > > > version of LightXML > > > > > INFO: Use `Pkg.update()` to get the latest versions of your > > > > > packages > > > > > > > > > > julia> Pkg.update() > > > > > INFO: Updating METADATA... > > > > > INFO: Computing changes... > > > > > INFO: No packages to install, update or remove > > > > > > > > > > julia> using LightXML > > > > > INFO: Precompiling module LightXML... > > > > > > > > > > julia> # create an empty XML document > > > > > xdoc = XMLDocument() > > > > > ERROR: error compiling call: could not load library "libxml2" > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >