Re: Anyone using syslog-ng on RHEL 5?



I have an RPM if you want, but it's for x86_64 bit machines. I can
send you the SRPM and perhaps you can build it on your box?

Norman Elton

On 12/20/07, jeff murphy <jeff.murphy@xxxxxxxxx> wrote:
Configure isn't looking for libraries... it's just asking pkg-config
if eventlog is installed and if the installed version is greater than
the minimum required.

pkg-config --list-all | grep event

If it doesn't list eventlog, then you need to install it.


On Dec 20, 2007, at 10:32 AM, Chuck wrote:

I am having problems building syslog-ng 2.0.6 on RHEL 5. I have
installed the required eventlog libraries into /usr/local/event-0.2.5.
However, configure is not finding the libraries and is also
complaining about not finding pkg-config:

#./configure --prefix=/usr/local/syslog-ng
<snip>
checking for GLIB... yes
checking for EVTLOG... no
configure: error: Cannot find eventlog version >= 0.2: is pkg-config
in path?
charger:/usr/local/src/syslog-ng-2.0.6 #which pkg-config


I have tried adding the /usr/local/eventlog-0.2.5/lib path to
/etc/ld.so.conf (and reconfiguring ld).
charger:/usr/local/src/syslog-ng-2.0.6 #ldconfig -p | grep eventlog
libevtlog.so.0 (libc6) => /usr/local/eventlog-0.2.5/lib/
libevtlog.so.0
libevtlog.so (libc6) => /usr/local/eventlog-0.2.5/lib/
libevtlog.so


I have tried defining this in LD_LIBRARY_PATH. I have also tried
explicitly setting LDFLAGS (for the libs) and CPPFLAGS (for the
includes) in the environment I'm running configure from. I am unable
to get configure to find these libraries.
charger:/usr/local/src/syslog-ng-2.0.6 #which pkg-config
/usr/bin/pkg-config

charger:/usr/local/src/syslog-ng-2.0.6 #pkg-config --version
0.21
It also complains it can't find pkg-config, however pkg-config is
under /usr/bin and the shell I'm running this from has no problems
finding it:

charger:/usr/local/src/syslog-ng-2.0.6 #which pkg-config
/usr/bin/pkg-config

charger:/usr/local/src/syslog-ng-2.0.6 #pkg-config --version
0.21

Its probably a bonehead mistake I'm making but after 3 fresh looks at
this it still eludes me.

Thanks for any help,
CC

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: Anyone using syslog-ng on RHEL 5?
    ... Configure isn't looking for libraries... ... it's just asking pkg-config if eventlog is installed and if the installed version is greater than the minimum required. ... If it doesn't list eventlog, then you need to install it. ...
    (RedHat)
  • Anyone using syslog-ng on RHEL 5?
    ... I am having problems building syslog-ng 2.0.6 on RHEL 5. ... configure is not finding the libraries and is also ... complaining about not finding pkg-config: ... It also complains it can't find pkg-config, ...
    (RedHat)
  • Re: problem compiling mono
    ... > libraries are in a nonstandard prefix so pkg-config can find them. ... where it is supposed to install and it is now looking ...
    (comp.os.linux.development.apps)
  • Kylix 3 on SuSE 9.2 Pro 64 bits
    ... it could not install on a 64 bits sytem because of an library issue. ... But the strange part is that the libraries he is complaining about is also ... It there some way to install this Kylix package on the 64 bits version or a ...
    (alt.os.linux.suse)
  • Re: problem compiling mono
    ... > libraries are in a nonstandard prefix so pkg-config can find them. ... and you didn't install that. ...
    (comp.os.linux.development.apps)