Information: Forum is in read-only mode
For details and other support options see

error: liblogging/stdlog.h: No such file or directory

Everything related with getting rsyslog up and running (but not beyond that point ;))

Moderator: alorbach

Google Ads

error: liblogging/stdlog.h: No such file or directory

Postby jholman » Mon Aug 04, 2014 4:38 pm

Got a file not found error:

$ ./configure --prefix=/home/johan/rsyslog --disable-regexp --disable-zlib --disable-klog --disable-inet --disable-uuid --disable-libgcrypt --disable-rsyslogrt --disable-rsyslogd --disable-testbench --disable-largefile

rsyslog will be compiled with the following settings:
Large file support enabled: no
Networking support enabled: no

... everything on no (and no errors) ...

$ make V=1
make all-recursive
make[1]: Entering directory `/home/johan/rsyslog/rsyslog-8.2.2'
Making all in compat
make[2]: Entering directory `/home/johan/rsyslog/rsyslog-8.2.2/compat'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/johan/rsyslog/rsyslog-8.2.2/compat'
Making all in runtime
make[2]: Entering directory `/home/johan/rsyslog/rsyslog-8.2.2/runtime'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"/home/johan/rsyslog/lib/rsyslog/\" -I\.. -I\../grammar -pthread -I/home/johan/rsyslog/include/json-c -I\../tools -g -O2 -MT librsyslog_la-rsyslog.lo -MD -MP -MF .deps/librsyslog_la-rsyslog.Tpo -c -o librsyslog_la-rsyslog.lo `test -f 'rsyslog.c' || echo './'`rsyslog.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"/home/johan/rsyslog/lib/rsyslog/\" -I.. -I../grammar -pthread -I/home/johan/rsyslog/include/json-c -I../tools -g -O2 -MT librsyslog_la-rsyslog.lo -MD -MP -MF .deps/librsyslog_la-rsyslog.Tpo -c rsyslog.c -fPIC -DPIC -o .libs/librsyslog_la-rsyslog.o
rsyslog.c:62:31: error: liblogging/stdlog.h: No such file or directory
In file included from obj-types.h:30,
from debug.h:28,
from rsyslog.h:533,
from rsyslog.c:64:
stringbuf.h:36:21: error: libestr.h: No such file or directory
make: *** [all] Error 2

[johan@defthwtest1log rsyslog-8.2.2]$ find /home/johan/rsyslog|grep stdlog.h

It is there, readable
$ ls -al /home/johan/rsyslog/include/liblogging/stdlog.h
-rw-r--r--. 1 johan users 4165 Aug 4 12:52 /home/johan/rsyslog/include/liblogging/stdlog.h

It looks if the Makefile isn't right?

$ grep johan Makefile
ACLOCAL = ${SHELL} /home/johan/rsyslog/rsyslog-8.2.2/missing aclocal-1.13
AUTOCONF = ${SHELL} /home/johan/rsyslog/rsyslog-8.2.2/missing autoconf
AUTOHEADER = ${SHELL} /home/johan/rsyslog/rsyslog-8.2.2/missing autoheader
AUTOMAKE = ${SHELL} /home/johan/rsyslog/rsyslog-8.2.2/missing automake-1.13
JSON_C_CFLAGS = -I/home/johan/rsyslog/include/json-c
JSON_C_LIBS = -L/home/johan/rsyslog/lib -ljson-c
LIBESTR_CFLAGS = -I/home/johan/rsyslog/include
LIBESTR_LIBS = -L/home/johan/rsyslog/lib -lestr
LIBLOGGING_STDLOG_CFLAGS = -I/home/johan/rsyslog/include
LIBLOGGING_STDLOG_LIBS = -L/home/johan/rsyslog/lib -llogging-stdlog
MAKEINFO = ${SHELL} /home/johan/rsyslog/rsyslog-8.2.2/missing makeinfo
PKG_CONFIG_PATH = /home/johan/rsyslog/lib/pkgconfig
abs_builddir = /home/johan/rsyslog/rsyslog-8.2.2
abs_srcdir = /home/johan/rsyslog/rsyslog-8.2.2
abs_top_builddir = /home/johan/rsyslog/rsyslog-8.2.2
abs_top_srcdir = /home/johan/rsyslog/rsyslog-8.2.2
install_sh = ${SHELL} /home/johan/rsyslog/rsyslog-8.2.2/install-sh
prefix = /home/johan/rsyslog
Posts: 2
Joined: Mon Aug 04, 2014 4:29 pm

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Google Ads

Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests