GithubHelp home page GithubHelp logo

Comments (2)

cabusar avatar cabusar commented on September 27, 2024 1

Hi,

Same problem here.

Workaround & dirty fix assuming libjson-c3 will work with this mod :

First, extract.

mkdir /tmp/deb-fix
cd /tmp/deb-fix
wget https://github.com/graylog-labs/apache-mod_log_gelf/releases/download/0.2.0/libapache2-mod-gelf_0.2.0-1_amd64.debian.deb
dpkg-deb -R libapache2-mod-gelf_0.2.0-1_amd64.debian.deb .
cd DEBIAN/
nano control

Then modifie the requirements :
(replace libjson-c2 by libjson-c3)

Package: libapache2-mod-gelf
Version: 0.2.0-1
License: Apache v2.0
Vendor: graylog
Architecture: amd64
Maintainer: Graylog, Inc. <[email protected]>
Installed-Size: 81
Depends: apache2, libjson-c3, zlib1g
Section: net
Priority: extra
Homepage: https://www.graylog.org/
Description: Apache2 GELF log module

Finaly recompress the deb package and install :

dpkg-deb -b . libapache2-mod-gelf_0.2.0-1_amd64.debian.fixed.deb
dpkg -i libapache2-mod-gelf_0.2.0-1_amd64.debian.fixed.deb

And last dirty fix (dépend of your arch) :

ln -s /lib/x86_64-linux-gnu/libjson-c.so.3 /lib/x86_64-linux-gnu/libjson-c.so.2

Work like a charm. :)

from apache-mod_log_gelf.

Sid3way avatar Sid3way commented on September 27, 2024

For anyone stumbling upon this while using ubuntu 21.XX, just know that it works with libjson-c5 instead

from apache-mod_log_gelf.

Related Issues (16)

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.