Comments (2)
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.
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)
- TLS (TCP)
- messy code HOT 1
- Unable to install the module on SUSE11 behind firewalls HOT 1
- Dependencies for libjson-c2 failed on Ubuntu 18.04 HOT 2
- Client IP for use with mod_remoteip and X-Forwarded-For
- POST-Request get aborted, when logging is active HOT 1
- X-forwarded-for and log_gelf HOT 3
- Load Balancer HOT 1
- log are sent only for one virtual domain.
- virtualhost related config is getting ignored
- Please remove dot(.) in Request duration HOT 2
- request_duration_us must be type:long instead of string HOT 2
- Support for custom fields HOT 1
- ap_log_perrror loading of module fails HOT 6
- support for error.log
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apache-mod_log_gelf.