[syslog-ng] syslog-ng-2.1.3: 'Configure' failed on Solaris 8 using --enable-static-linking

Chanchal Verma cverma2 at csc.com
Fri Jan 16 09:07:51 CET 2009


Thanks Riza for your comment. I have also colpiles syslog-ng2.1.3 
successfully using --enabledynamic-linking option.

Here I want to compile syslog-ng-2.1.3 with --enable-static-linking 
option.

With Regards,
Chanchal Verma




Riza Kamalie <sorted78 at gmail.com> 
Sent by: syslog-ng-bounces at lists.balabit.hu
01/16/2009 01:35 PM
Please respond to
"Syslog-ng users' and developers' mailing list" 
<syslog-ng at lists.balabit.hu>


To
"Syslog-ng users' and developers' mailing list" 
<syslog-ng at lists.balabit.hu>
cc

Subject
Re: [syslog-ng] syslog-ng-2.1.3: 'Configure' failed on Solaris 8 using 
--enable-static-linking






I had the same issue, I enabled dynamic linking and it compiled. 

Regards
Riza 

On Fri, Jan 16, 2009 at 9:13 AM, Chanchal Verma <cverma2 at csc.com> wrote:

Hi, 

I have successfully build syslog-ng-2.1.3 with --enable-dynamic-linking on 
Solaris 8. 
While trying to build using --enable-static-linking option, it is not 
allowing me to configure syslog-ng-2.1.3 version on my Solaris 8 box 
(sparc). It is not able to find glib-2.0.a (Static library), though it is 
available in /usr/local/lib path. 

-rw-r--r--   1 root      2822036 Jan 15 06:21 /usr/local/lib/libglib-2.0.a 


Here is error message while doing compilation: 
----------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

./configure --enable-static-linking --prefix=/opt/syslog-ng-2.1.3 
.... 
.... 
checking whether to enable TCP wrapper support... no 
checking whether to enable spoof source support... no 
checking whether to enable IPv6 support... yes 
checking whether to enable SQL support... no 
checking for pkg-config... (cached) /usr/local/bin/pkg-config 
checking pkg-config is at least version 0.14... yes 
checking for GLIB - version >= 2.4.0... yes (version 2.13.0) 
checking for static GLib libraries... no 
checking sanity checking Glib headers... yes 
configure: error: static GLib libraries not found (a file named 
libglib-2.0.a), either link GLib dynamically using the 
--enable-dynamic-linking or install a static GLib 
----------------------------------------------------------------------------------------------------------------------------------------------------------------------- 


I have compiled glib-2.13.1 witn --enable-static option to get 
libglib-2.0.a library using gcc-3.4.6 compiler (same I am using for 
syslog-ng). Somehow syslog-ng is not able to find Static Glib during 
configure. 

Any help will be highly appreciated. 

Thanks, 
Chanchal Verma
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: 
http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090116/8dd7400d/attachment.htm 


More information about the syslog-ng mailing list