-
configure:8571: checking for static GLib libraries
-
configure:8605: gcc -o conftest -g -O2 -Wall -L/usr/local/lib -R/usr/local/lib conftest.c -Wl,-Bstatic -L/usr/local/lib -lglib-2.0 -lintl -liconv -Wl,-Bdynamic >&5
-
ld: fatal: library -liconv: not found
-
ld: fatal: File processing errors. No output written to conftest
-
collect2: ld returned 1 exit status
-
configure:8611: $? = 1
-
configure: failed program was:
-
| /* confdefs.h. */
-
| #define PACKAGE_NAME ""
-
| #define PACKAGE_TARNAME ""
-
| #define PACKAGE_VERSION ""
-
| #define PACKAGE_STRING ""
-
| #define PACKAGE_BUGREPORT ""
-
| #define _FILE_OFFSET_BITS 64
-
| #define STDC_HEADERS 1
-
| #define HAVE_SYS_TYPES_H 1
-
| #define HAVE_SYS_STAT_H 1
-
| #define HAVE_STDLIB_H 1
-
| #define HAVE_STRING_H 1
-
| #define HAVE_MEMORY_H 1
-
| #define HAVE_STRINGS_H 1
-
| #define HAVE_INTTYPES_H 1
-
| #define HAVE_STDINT_H 1
-
| #define HAVE_UNISTD_H 1
-
| #define HAVE_STRINGS_H 1
-
| #define HAVE_GETOPT_H 1
-
| #define HAVE_STROPTS_H 1
-
| #define HAVE_SYS_STRLOG_H 1
-
| #define HAVE_DOOR_H 1
-
| #define HAVE_O_LARGEFILE 1
-
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
-
| #define HAVE_STRDUP 1
-
| #define HAVE_STRTOL 1
-
| #define HAVE_STRTOLL 1
-
| #define HAVE_STRTOIMAX 1
-
| #define HAVE_GETOPT_LONG 1
-
| #define HAVE_GETUTENT 1
-
| #define HAVE_PTHREAD_H 1
-
| #define HAVE_LIBPTHREAD 1
-
| /* end confdefs.h. */
-
|
-
| extern void g_hash_table_new(void);
-
|
-
| int
-
| main ()
-
| {
-
|
-
|
-
| void (*fn)(void) = g_hash_table_new;
-
|
-
| return (int) fn;
-
|
-
|
-
| ;
-
| return 0;
-
| }
-
configure:8628: result: no
-
configure:8635: checking sanity checking Glib headers
-
configure:8666: gcc -o conftest -g -O2 -Wall -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -L/usr/local/lib -R/usr/local/lib conftest.c -lpthread >&5
-
configure:8669: $? = 0
-
configure:8675: ./conftest
-
configure:8678: $? = 0
-
configure:8694: result: yes
-
configure:8789: error: static GLib libraries not found (a file named libglib-2.0.a), either link GLib dynamically using the --enable-dynamic-linking or install a static GLib
On Sat, Feb 19, 2011 at 10:40 PM, Gergely Nagy
<algernon@balabit.hu> wrote:
On Sat, 2011-02-19 at 22:23 +0530, Rakesh Rajasekharan wrote:
>
> checking pthread.h usability... yes
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for pthread_create in -lpthread... yes
> checking for LIBNET... no
> checking whether to enable Sun STREAMS support... yes
> checking whether to enable Sun door support... yes
> checking whether to enable TCP wrapper support... no
> checking whether to enable spoof source support... no
> checking whether to enable IPv6 support... yes
> checking whether to enable SQL support... no
> checking whether to enable Linux capability support... no
> checking whether to enable PCRE support... no
> checking for pkg-config... (cached) /usr/local/bin/pkg-config
> checking pkg-config is at least version 0.14... yes
> checking for GLIB - version >= 2.10.1... yes (version 2.16.5)
> checking for EVTLOG... yes
> checking for static GLib libraries... no
> checking sanity checking Glib headers... yes
> configure: error: static GLib libraries not found (a file named
> libglib-2.0.a), either link GLib dynamically using the
> --enable-dynamic-linking or install a static GLib
>
Could you take a look at config.log, and see the exact error message
before the configure script errored out?
(Or even better, if you can upload the config.log to some place, or
paste it onto pastebin.com, that'd be even better)
--
|8]
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html