Code Monkey home page Code Monkey logo

Comments (7)

kn007 avatar kn007 commented on May 13, 2024 1

Oh Jesus! God knows why, all the steps are the same, but it working well now.
Anyway, Thank you, both. It's very kind of you.

@PiotrSikora
@redburn

from ngx_brotli.

redburn avatar redburn commented on May 13, 2024

Same issue here, same OS. Builds just fine on CentOS 7.

from ngx_brotli.

PiotrSikora avatar PiotrSikora commented on May 13, 2024

This is incompatibility between very old libbrotli and latest ngx_brotli.

You need to either use recent libbrotli with C interface (bagder/libbrotli@3f46e28 from April, or newer) or use older ngx_brotli written in C++ (ada972b or older). There was transition period where Brotli exposed both: C and C++ interfaces and where ngx_brotli would work with either one, but that period has ended and both are C-only now.

from ngx_brotli.

kn007 avatar kn007 commented on May 13, 2024

Thank you.
I am using git-clone to get the latest libbrotli and latest ngx_brotli, but still have this problem.
I will test again later.

from ngx_brotli.

PiotrSikora avatar PiotrSikora commented on May 13, 2024

Did you actually install libbrotli, i.e. did you call make install? The errors you pasted suggest that the headers under /usr/local/include/brotli are from the old C++ version of the Brotli library.

from ngx_brotli.

redburn avatar redburn commented on May 13, 2024

I also cloned the git repository, and followed the build instructions, including make install. However, I just repeated all the steps and now it is working. The headers in /usr/local/include/brotli are different than before, though I'm pretty sure I ran the same commands and used the same repository -- and @kn007 apparently had the same.

Anyway, it's working: content-encoding: br. Hope it works for you, too, @kn007 .

from ngx_brotli.

kn007 avatar kn007 commented on May 13, 2024

@PiotrSikora Yes, I did it(make install).

Thank you, @redburn .
On the way home now, I will try it again when I get home.

from ngx_brotli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.