Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

How to install brotli library on ubuntu xenial? #16

Description

@PatrickHuetter

I integrated jbrotli within my apache httpclient but can't use it because BrotliLibraryLoader.loadBrotli(); fails. I already installed brotli via apt-get install brotli and also compiled brotli by myself and created the symlink to the brotli.so file but it's also not working.

Couldn't load native library 'brotli'. [LoaderResult: os.name="Linux", os.arch="amd64", os.version="4.4.0-51-generic", java.vm.name="OpenJDK 64-Bit Server VM", java.vm.version="25.111-b14", java.vm.vendor="Oracle Corporation", alreadyLoaded="null", loadedFromSystemLibraryPath="false", nativeLibName="libbrotli.so", temporaryLibFile="/tmp/brotli5285008184952161942/libbrotli.so", libNameWithinClasspath="/lib/linux-x86-amd64/libbrotli.so", usedThisClassloader="false", usedSystemClassloader="false", java.library.path="/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib"];

What's the correct way to install brotli on ubuntu xenial that jbrotli can make use of it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions