[syslog-ng] 3.2 alpha 2 build error
Matthew Hall
mhall at mhcomputing.net
Fri Aug 20 03:25:55 CEST 2010
More information.
Host OS is Kubuntu 10.04 LTS.
Version of libdbi0 is 0.8.2-3.
Builds successfully with --disable-sql added to configure in debian/rules.
However packaging will fail with the following:
dpkg-shlibdeps: error: couldn't find library libsyslog-ng.so.0 needed by debian/syslog-ng/bin/pdbtool (ELF format: 'elf64-x86-64'; RPATH: '//lib://lib/syslog-ng').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/syslog-ng.substvars debian/syslog-ng/sbin/syslog-ng debian/syslog-ng/bin/loggen debian/syslog-ng/bin/pdbtool returned exit code 2
make: *** [binary-arch] Error 9
Matthew.
On Thu, Aug 19, 2010 at 06:16:39PM -0700, Matthew Hall wrote:
> When building using debian/rules binary on 3.2 alpha 2 my build fails
> here. Any advice on this one?
>
> Thanks,
> Matthew.
>
> /bin/bash ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I.. -DENABLE_SQL=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/eventlog -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -MT libafsql_la-afsql.lo -MD -MP -MF .deps/libafsql_la-afsql.Tpo -c -o libafsql_la-afsql.lo `test -f 'afsql.c' || echo './'`afsql.c
> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I.. -DENABLE_SQL=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/eventlog -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -MT libafsql_la-afsql.lo -MD -MP -MF .deps/libafsql_la-afsql.Tpo -c afsql.c -fPIC -DPIC -o .libs/libafsql_la-afsql.o
> afsql.c:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dbi_instance’
> afsql.c: In function ‘afsql_dd_insert_db’:
> afsql.c:583: warning: implicit declaration of function ‘dbi_conn_new_r’
> afsql.c:583: error: ‘dbi_instance’ undeclared (first use in this function)
> afsql.c:583: error: (Each undeclared identifier is reported only once
> afsql.c:583: error: for each function it appears in.)
> afsql.c: In function ‘afsql_dd_init’:
> afsql.c:1007: warning: implicit declaration of function ‘dbi_initialize_r’
> afsql.c:1007: error: ‘dbi_instance’ undeclared (first use in this function)
>
> ______________________________________________________________________________
> 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
>
More information about the syslog-ng
mailing list