[syslog-ng] Compile 3.0.1 on RHEL 5 with sql support
Henk van Lingen
henkvl at cs.uu.nl
Thu Feb 5 15:10:27 CET 2009
Hi,
I'm new to syslog-ng and I'm trying to compile 3.0.1 on a RHEL 5.3 system.
I want to use the log to PostgreSQL features so I'm trying to enable
sql support. For this I've installed the libdbi packages:
root@:~-# yum list '*libdbi*'
Loaded plugins: rhnplugin, security
Installed Packages
libdbi.i386 0.8.1-2.1 installed
libdbi.x86_64 0.8.1-2.1 installed
libdbi-dbd-pgsql.x86_64 0.8.1a-1.2.2 installed
libdbi-devel.i386 0.8.1-2.1 installed
libdbi-devel.x86_64 0.8.1-2.1 installed
libdbi-drivers.x86_64 0.8.1a-1.2.2 installed
However, a configure gives:
SQL support : no
And a "./configure --enable-dynamic-linking --enable-sql" gives a
/home/henk/syslog-ng-3.0.1/src/afsql.c:672: undefined reference to `dbi_initialize'
in the make phase.
Any ideas what or which lib I am missing?
BTW:
a configure without --enable-dynamic-linking gives a
configure: error: static OpenSSL libraries not found (libssl.a and libcrypto.a)
although I have those files both in /usr/lib and /usr/lib64
I have PKG_CONFIG_PATH=/usr/local/lib/pkgconfig, as is needed for eventlog.
Regards,
--
Henk van Lingen, (o- -+
Netwerk & Telefonie, ICT Service Center /\ |
Jenalaan 18a, kamer 1.40 v_/_
http://henk.vanlingen.net/ http://www.tuxtown.net/netiquette/
More information about the syslog-ng
mailing list