[syslog-ng] glibc 2.0.6

Raffaele Cicchese raffaele at unipr.it
Thu Oct 18 18:41:24 CEST 2007


Alexander Clouter wrote:
> Hi,
> 
> Balazs Scheidler <bazsi at balabit.hu> [20071018 17:53:47 +0200]:
>> static linking won't work accross different major glibc versions, as
>> syslog-ng uses NSS libraries that have different binary interfaces and
>> can't be linked statically.
>>
>> you can recompile syslog-ng on an older system that has old glibc.
>>
>> The only problem you can have is glib and friends as older systems
>> usually have a too old glib version.
>>
> Good point, however a possible workaround is:
> 
> http://www.gnu.org/software/libc/FAQ.html#s-2.22
> 
> Hopefully that will work for you if syslog-ng will not compile (for whatever 
> reason) against a really old glibc.
> 
> Cheers
> Alex

Hi guys,
what is wrong?

web1:~/syslog-ng/syslog-ng-2.0.5+20071018 # cat /etc/issue
Welcome to SuSE Linux 9.0 (i586) - Kernel \r (\l).

web1:~/syslog-ng/syslog-ng-2.0.5+20071018 # uname -r
2.4.21-297-smp4G

web1:~/syslog-ng/syslog-ng-2.0.5+20071018 # rpm -qi glibc | grep Version
Version     : 2.3.2

web1:~/syslog-ng/syslog-ng-2.0.5+20071018 # ./configure --prefix=/usr
--enable-static-linking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ANSI C... none needed
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking how to enable static linking for certain libraries... GNU or
Solaris
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dmalloc.h usability... no
checking dmalloc.h presence... no
checking for dmalloc.h... no
checking for strings.h... (cached) yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/strlog.h usability... no
checking sys/strlog.h presence... no
checking for sys/strlog.h... no
checking door.h usability... no
checking door.h presence... no
checking for door.h... no
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_gmtoff... yes
checking for I_CONSLOG... no
checking for O_LARGEFILE... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for door_create in -ldoor... no
checking for socket in -lsocket... no
checking for nanosleep in -lrt... yes
checking for gethostbyname in -lnsl... yes
checking for regexec in -lregex... no
checking for res_init in -lresolv... no
checking for strdup... yes
checking for strtol... yes
checking for strtoll... yes
checking for strtoimax... yes
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for getopt_long... yes
checking for getaddrinfo... yes
checking for getutent... yes
checking for TCP wrapper library... -lwrap
checking for LIBNET... yes
checking whether to enable Sun STREAMS support... no
checking whether to enable Sun door support... no
checking whether to enable TCP wrapper support... yes
checking whether to enable spoof source support... yes
checking whether to enable IPv6 support... yes
checking for pkg-config... no
checking for GLIB... configure: error: Cannot find GLib library version
>= 2.2: is pkg-config in path?

web1:~/syslog-ng/syslog-ng-2.0.5+20071018 # ls -al /usr/lib/pkgconfig/
total 86
drwxr-xr-x    2 root     root          520 Oct 18 18:13 .
drwxr-xr-x   80 root     root        30400 Oct 18 18:13 ..
-rw-r--r--    1 root     root          273 Sep 24  2003 ImageMagick++.pc
-rw-r--r--    1 root     root          542 Sep 24  2003 ImageMagick.pc
-rw-r--r--    1 root     root          202 Sep 23  2003 audiofile.pc
-rw-r--r--    1 root     root          308 Sep 24  2003 directfb-internal.pc
-rw-r--r--    1 root     root          283 Sep 24  2003 directfb.pc
-rw-r--r--    1 root     root          231 Oct 18 18:13 eventlog.pc
-rw-r--r--    1 root     root          225 Sep 23  2003 fontconfig.pc
-rw-r--r--    1 root     root          197 Sep 24  2003 libdv.pc
-rw-r--r--    1 root     root          231 Sep 23  2003 libexif.pc
-rw-r--r--    1 root     root          311 Sep 23  2003 libgphoto2.pc
lrwxrwxrwx    1 root     root           11 Apr 14  2004 libpng.pc ->
libpng12.pc
-rw-r--r--    1 root     root          232 Sep 23  2003 libpng12.pc
-rw-r--r--    1 root     root          266 Dec  3  2004 openssl.pc
-r--r--r--    1 root     root          219 Sep 23  2003 xcursor.pc
-r--r--r--    1 root     root          428 Sep 23  2003 xft.pc

Thanks for help
Raffaele



More information about the syslog-ng mailing list