[syslog-ng] 3.2.1 fails build in modules/dbparser w/o -lssl
Peter Czanik
czanik at balabit.hu
Fri Dec 3 11:54:12 CET 2010
On 12/01/2010 04:32 AM, Brian A. Seklecki wrote:
> [Sorry if this is a dupe; mailing list delays or silent quarntine for
> non-subscribers]
>
> I can provide a full config.log via URL, but here's the quick summary:
>
> /bin/ksh ../../libtool --tag=CC --mode=link gcc -std=gnu99
> -Wno-pointer-sign -g -O2 -Wall -o pdbtool pdbtool-pdbtool.o
> pdbtool-patternize.o ../../lib/libsyslog-ng.la libdbparser.la -lrt
> -Wl,-R/usr/pkg/lib -Wl,--export-dynamic -pthread -L/usr/pkg/lib
> -lgmodule-2.0 -lglib-2.0 -lintl -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
> -levtlog -lresolv
> libtool: link: gcc -std=gnu99 -Wno-pointer-sign -g -O2 -Wall -o
> .libs/pdbtool pdbtool-pdbtool.o pdbtool-patternize.o -Wl,-R/usr/pkg/lib
> -Wl,--export-dynamic -pthread -Wl,-R/usr/pkg/lib
> ../../lib/.libs/libsyslog-ng.so -L/usr/pkg/lib ./.libs/libdbparser.so
> /root/syslog-ng-3.2.1/lib/.libs/libsyslog-ng.so -lrt
> /usr/pkg/lib/libgmodule-2.0.so /usr/pkg/lib/libglib-2.0.so
> /usr/pkg/lib/libpcre.so -lintl /usr/pkg/lib/libevtlog.so -lresolv
> -pthread -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/pkg/lib/syslog-ng
> pdbtool-patternize.o: In function `uuid_gen_random':
> /root/syslog-ng-3.2.1/modules/dbparser/patternize.c:67: undefined
> reference to `RAND_bytes'
> gmake[2]: *** [pdbtool] Error 1
> gmake[2]: Leaving directory `/root/syslog-ng-3.2.1/modules/dbparser'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/root/syslog-ng-3.2.1/modules/dbparser'
> gmake: *** [all] Error 2
>
> Appending "-lssl" to the automake/libtool command makes it work fine.
>
> NetBSD metrotitan 5.99.39 NetBSD 5.99.39 (METROTITAN-$Revision: 1.993 $)
> #0: Wed Oct 6 13:26:31 EDT 2010
> root at metrotitan:/usr/obj/sys/arch/i386/compile/METROTITAN i386
>
> bash-4.1# openssl version
> OpenSSL 1.1.0-dev 10 Jul 2009
>
> I'm doing this outside of Pkgsrc, so its possibly my fault.
>
No, I ran into this problem too, and a fix was just committed to git by
Bazsi:
http://git.balabit.hu/?p=bazsi/syslog-ng-3.2.git;a=commit;h=5edede4652935ee4171b9fc54cd7b52ff83153cb
Bye,
--
Peter Czanik (CzP) <czanik at balabit.hu>
BalaBit IT Security / syslog-ng upstream
http://czanik.blogs.balabit.com/
More information about the syslog-ng
mailing list