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"



Dňa sobota, 24. septembra 2016 14:18:27 UTC+2 Kaj Wiik napísal(-a):
>
> Try
>
> sudo apt install libxml2
>
>
>
> On Saturday, September 24, 2016 at 12:52:46 PM UTC+3, Ján Adamčák wrote:
>>
>> 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"
>>
>>
>>
>>
>>

Reply via email to