[syslog-ng] error while loading shared libraries

Johnson, Chris (HP TippingPoint Roseville) chris.johnson3 at hp.com
Wed Dec 7 22:49:14 CET 2011


I'm using ./configure, make, make install

Configure line:
  $ ./configure PKG_CONFIG_PATH=/home/user/wip/lib/libevtlog EVTLOG_CFLAGS=-I/home/user/wip/lib/libevtlog/include --enable-static

Since I'm 'staging' my build for another box, I needed to set PKG_CONFIG_PATH and EVTLOG_CFLAGS to have my 'staged' eventlog library to be found. The '--enable-static' was added to try and fix the error, but the it happens with or without it.

Chris
From: syslog-ng-bounces at lists.balabit.hu [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Mr. Jan Walter
Sent: Wednesday, December 07, 2011 1:31 PM
To: Syslog-ng users' and developers' mailing list
Subject: Re: [syslog-ng] error while loading shared libraries

Are you building an rpm from spec file? Or are you using ./configure, make, make install?

Either way, seeing the arguments to ./configure that you used, or the one in the spec file you used, would be ideal.

Jan

________________________________
From: "Johnson, Chris (HP TippingPoint Roseville)" <chris.johnson3 at hp.com>
To: "syslog-ng at lists.balabit.hu" <syslog-ng at lists.balabit.hu>
Sent: Wednesday, December 7, 2011 3:44 PM
Subject: [syslog-ng] error while loading shared libraries

I'm getting the following error:
    /usr/local/sbin/syslog-ng: error while loading shared libraries: /usr/local/lib/libsyslog-ng-3.3.3.so: ELF file OS ABI invalid
When I try to run syslog-ng (also occurs when I run pbdtool)
    pdbtool: error while loading shared libraries: /usr/local/lib/libsyslog-ng-3.3.3.so: ELF file OS ABI invalid

I'm building on one box (RedHat), and running on another (not sure what flavor of Linux, might be CentOS).
Any pointers to what I can set during the build phase that will allow it to run?

Thanks,
Chris
----------------------------------------
Christopher Johnson
chris.johnson3 at hp.com<mailto:chris.johnson3 at hp.com>
HP Software - Security Product Group
----------------------------------------

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20111207/52a40d67/attachment.htm 


More information about the syslog-ng mailing list