<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span>Just in general, I also use the --prefix argument to drop the code being built into a directory tree. Does it work if you run ./configure like this:</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span><br></span></div><div><font class="Apple-style-span" size="2">./configure PKG_CONFIG_PATH=/home/user/wip/lib/libevtlog EVTLOG_CFLAGS=-I/home/user/wip/lib/libevtlog/include --enable-static --prefix=/home/user/wip/syslog-ng</font><br></div><div><font class="Apple-style-span" size="2"><br></font></div><div><font class="Apple-style-span" size="2">Then run make and make install. Run the code from the prefix directory. You may need to also drop the .so files from libevtlog/lib into the same lib dir.</font></div><div><font
 class="Apple-style-span" size="2"><br></font></div><div><font class="Apple-style-span" size="2">Cheers,</font></div><div><font class="Apple-style-span" size="2"><br></font></div><div><font class="Apple-style-span" size="2">Jan</font></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> "Johnson, Chris (HP TippingPoint Roseville)" &lt;chris.johnson3@hp.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Syslog-ng users' and developers' mailing list &lt;syslog-ng@lists.balabit.hu&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b>
 Wednesday, December 7, 2011 4:49 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [syslog-ng] error while loading shared libraries<br> </font> <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv571669661">

 
 
<style><!--
#yiv571669661  
 _filtered #yiv571669661 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv571669661 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv571669661 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv571669661  
#yiv571669661 p.yiv571669661MsoNormal, #yiv571669661 li.yiv571669661MsoNormal, #yiv571669661 div.yiv571669661MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
#yiv571669661 a:link, #yiv571669661 span.yiv571669661MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv571669661 a:visited, #yiv571669661 span.yiv571669661MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv571669661 span.yiv571669661EmailStyle17
        {font-family:"sans-serif";color:#1F497D;}
#yiv571669661 .yiv571669661MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv571669661 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv571669661 div.yiv571669661WordSection1
        {}
--></style>

<div>
<div class="yiv571669661WordSection1">
<div class="yiv571669661MsoNormal"><span style="font-size:11.0pt;color:#1F497D;">I’m using ./configure, make, make install</span></div> 
<div class="yiv571669661MsoNormal"><span style="font-size:11.0pt;color:#1F497D;"> &nbsp;</span></div> 
<div class="yiv571669661MsoNormal"><span style="font-size:11.0pt;color:#1F497D;">Configure line:</span></div> 
<div class="yiv571669661MsoNormal"><span style="font-size:11.0pt;color:#1F497D;">&nbsp; $ ./configure PKG_CONFIG_PATH=/home/user/wip/lib/libevtlog EVTLOG_CFLAGS=-I/home/user/wip/lib/libevtlog/include --enable-static</span></div> 
<div class="yiv571669661MsoNormal"><span style="font-size:11.0pt;color:#1F497D;"> &nbsp;</span></div> 
<div class="yiv571669661MsoNormal"><span style="font-size:11.0pt;color:#1F497D;">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.</span></div> 
<div class="yiv571669661MsoNormal"><span style="font-size:11.0pt;color:#1F497D;"> &nbsp;</span></div> 
<div class="yiv571669661MsoNormal"><span style="font-size:11.0pt;color:#1F497D;">Chris</span></div> 
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;">
<div class="yiv571669661MsoNormal"><b><span style="font-size:10.0pt;">From:</span></b><span style="font-size:10.0pt;"> syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu]
<b>On Behalf Of </b>Mr. Jan Walter<br>
<b>Sent:</b> Wednesday, December 07, 2011 1:31 PM<br>
<b>To:</b> Syslog-ng users' and developers' mailing list<br>
<b>Subject:</b> Re: [syslog-ng] error while loading shared libraries</span></div> 
</div>
</div>
<div class="yiv571669661MsoNormal"> &nbsp;</div> 
<div>
<div>
<div class="yiv571669661MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;">Are you building an rpm from spec file? Or are you using ./configure, make, make install?</span></div> 
</div>
<div>
<div class="yiv571669661MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;"> &nbsp;</span></div> 
</div>
<div>
<div class="yiv571669661MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;">Either way, seeing the arguments to ./configure that you used, or the one in the spec file you used, would be ideal.</span></div> 
</div>
<div>
<div class="yiv571669661MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;"> &nbsp;</span></div> 
</div>
<div>
<div class="yiv571669661MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;">Jan</span></div> 
</div>
<div>
<blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:3.75pt;margin-bottom:5.0pt;">
<div class="yiv571669661MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;"> &nbsp;</span></div> 
<div>
<div>
<div class="yiv571669661MsoNormal" align="center" style="text-align:center;background:white;">
<span style="font-size:10.0pt;color:black;">
<hr size="1" width="100%" align="center">
</span></div>
<div class="yiv571669661MsoNormal" style="margin-bottom:12.0pt;background:white;"><b><span style="font-size:10.0pt;color:black;">From:</span></b><span style="font-size:10.0pt;color:black;"> "Johnson, Chris (HP
 TippingPoint Roseville)" &lt;chris.johnson3@hp.com&gt;<br>
<b>To:</b> "syslog-ng@lists.balabit.hu" &lt;syslog-ng@lists.balabit.hu&gt; <br>
<b>Sent:</b> Wednesday, December 7, 2011 3:44 PM<br>
<b>Subject:</b> [syslog-ng] error while loading shared libraries<br>
</span><span style="color:black;"><br>
I'm getting the following error:<br>
&nbsp; &nbsp; /usr/local/sbin/syslog-ng: error while loading shared libraries: /usr/local/lib/libsyslog-ng-3.3.3.so: ELF file OS ABI invalid<br>
When I try to run syslog-ng (also occurs when I run pbdtool)<br>
&nbsp; &nbsp; pdbtool: error while loading shared libraries: /usr/local/lib/libsyslog-ng-3.3.3.so: ELF file OS ABI invalid<br>
<br>
I'm building on one box (RedHat), and running on another (not sure what flavor of Linux, might be CentOS).
<br>
Any pointers to what I can set during the build phase that will allow it to run? <br>
<br>
Thanks,<br>
Chris<br>
----------------------------------------<br>
Christopher Johnson<br>
<a rel="nofollow" ymailto="mailto:chris.johnson3@hp.com" target="_blank" href="mailto:chris.johnson3@hp.com">chris.johnson3@hp.com</a><br>
HP Software - Security Product Group<br>
----------------------------------------<br>
<br>
______________________________________________________________________________<br>
Member info: <a rel="nofollow" target="_blank" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">
https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng<br>
FAQ: http://www.balabit.com/wiki/syslog-ng-faq<br>
<br>
<br>
</span></div> 
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>

</div><meta http-equiv="x-dns-prefetch-control" content="on"><br>______________________________________________________________________________<br>Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br><br><br><br> </div> </div> </blockquote></div>   </div></body></html>