I have am trying to run SIGAR on my linux project using maven for dependencies and the spring framework.
In my Maven pom.xml
file I have added the Maven dependency and the Maven repository, according to the official website.
However, this is still not enough. Now I have an error:
[DEBUG][Sigar]: no libsigar-amd64-linux.so in java.library.path
org.hyperic.sigar.SigarException: no libsigar-amd64-linux.so in java.library.path
I have searched the maven website and could not find the amd64-linux jar that I needed, nor do I know how to add it using Maven.
How do I fix the problem?
.jar
) pulled from the repo is just a binding to the system library. – Hopefullysudo apt-get install libsigar-amd64-linux.so
but the package does not exist :S – Oldtimer