[syslog-ng] Glib libraries issue syslog_ng 3.3.4

Gergely Nagy algernon at balabit.hu
Fri Apr 27 16:15:32 CEST 2012


Rakesh Rajasekharan <rakesh.rajasekharan at gmail.com> writes:

> Hi Gergely,
>
> I have put my config.log on paste bin. THis is the link
> http://pastebin.com/3kFWmVWx .
> Please let me know incase you are not able to access this.

This appears to be your problem:

configure:14629: checking sanity checking Glib headers
configure:14650: gcc -std=gnu99 -o conftest -g -O2 -Wall -pthread -D_REENTRANT -D_PTHREADS -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include    -L/usr/local/lib -lgmodule-2.0 -lgthread-2.0 -lpthread -lthread -lglib-2.0 -lintl -liconv  conftest.c  >&5
gcc: unrecognized option `-pthread'
configure:14650: $? = 0
configure:14650: ./conftest
ld.so.1: conftest: fatal: libgmodule-2.0.so.0: open failed: No such file or directory
./configure: line -1855:  5536 Killed                  ./conftest$ac_exeext
configure:14650: $? = 137
configure: program exited with status 137

That is, libgmodule-2.0.so.0 is not found, which makes sense, since
you're attempting to link this statically, if I understood correctly.

My suspicion is that you will need a shared glib, even in mixed linking
mode.

-- 
|8]



More information about the syslog-ng mailing list