[syslog-ng]trouble configuring syslog-ng with libraries

John Thrumston syslog-ng@lists.balabit.hu
Thu, 14 Apr 2005 12:03:31 -0700 (PDT)


--0-948364602-1113505411=:16587
Content-Type: text/plain; charset=us-ascii

I tried the ./configure --enable-dynamic-linking as it suggests, got the exact same results. 
 
Sunfreeware has a newer version of GLIB (SMCglib-2.6.2 out there. 
My questions are, if I add that package. 
1) how will the server know which version to use? 
2. Will this corrupt any other packages that may currently be using the SUNWGlib that was installed?
 
Sorry to ask all these questions, I just don't know library functions very well and don't want to blow the box up so to speak.
 
Thanks again for your help.

Balazs Scheidler <bazsi@balabit.hu> wrote:
On Thu, 2005-04-14 at 10:09 -0700, John Thrumston wrote:
> thank you, that appears to have fixed that, but now I get the
> following.
> 
> checking for glib-2.0... yes
> checking GLIB_CFLAGS... -I/usr/include/glib-2.0
> -I/usr/lib/sparcv9/glib-2.0/include
> checking GLIB_LIBS... -L/usr/lib/sparcv9 -lglib-2.0
> checking for eventlog... yes
> checking EVTLOG_CFLAGS... -I/usr/local/include/eventlog
> checking EVTLOG_LIBS... -L/usr/local/lib -levtlog
> checking for static GLib libraries... no
> configure: error: static GLib libraries not found, either link GLib
> dynamically using the --enable-dynamic-linking or install a static
> GLib
> 
> as you can see, it found glib but for some reason errors out. I have
> added every directory if found thru find to the PKG_CONFIG_PATH
> variable but that doesn't seem to help. What should I be looking for?

Just do as the configure script says:

either install a static glib (it is named libglib.a, not .la!) or if you
don't mind linking to libraries in /usr (which could be NFS mounted for
instance) then specify --enable-dynamic-linking to the configure script.

-- 
Bazsi


_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html


		
---------------------------------
Do you Yahoo!?
 Make Yahoo! your home page   
--0-948364602-1113505411=:16587
Content-Type: text/html; charset=us-ascii

<DIV>I tried the&nbsp;./configure --enable-dynamic-linking as it suggests, got the exact same results. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Sunfreeware has a newer version of GLIB (SMCglib-2.6.2 out there. </DIV>
<DIV>My questions are, if I add that package. </DIV>
<DIV>1) how will the server know which version to use? </DIV>
<DIV>2. Will this corrupt any other packages that may currently be using the SUNWGlib that was installed?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Sorry to ask all these questions, I just don't know library functions very well and don't want to blow the box up so to speak.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks again for your help.<BR><BR><B><I>Balazs Scheidler &lt;bazsi@balabit.hu&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Thu, 2005-04-14 at 10:09 -0700, John Thrumston wrote:<BR>&gt; thank you, that appears to have fixed that, but now I get the<BR>&gt; following.<BR>&gt; <BR>&gt; checking for glib-2.0... yes<BR>&gt; checking GLIB_CFLAGS... -I/usr/include/glib-2.0<BR>&gt; -I/usr/lib/sparcv9/glib-2.0/include<BR>&gt; checking GLIB_LIBS... -L/usr/lib/sparcv9 -lglib-2.0<BR>&gt; checking for eventlog... yes<BR>&gt; checking EVTLOG_CFLAGS... -I/usr/local/include/eventlog<BR>&gt; checking EVTLOG_LIBS... -L/usr/local/lib -levtlog<BR>&gt; checking for static GLib libraries... no<BR>&gt; configure: error: static GLib libraries not found, either link GLib<BR>&gt; dynamically using the --enable-dynamic-linking or install a static<BR>&gt; GLib<BR>&gt; <BR>&gt; as you can see, it found glib but for some reason errors out. I have<BR>&gt; added every directory if found thru find to the PKG_CONFIG_PATH<BR>&gt;
 variable but that doesn't seem to help. What should I be looking for?<BR><BR>Just do as the configure script says:<BR><BR>either install a static glib (it is named libglib.a, not .la!) or if you<BR>don't mind linking to libraries in /usr (which could be NFS mounted for<BR>instance) then specify --enable-dynamic-linking to the configure script.<BR><BR>-- <BR>Bazsi<BR><BR><BR>_______________________________________________<BR>syslog-ng maillist - syslog-ng@lists.balabit.hu<BR>https://lists.balabit.hu/mailman/listinfo/syslog-ng<BR>Frequently asked questions at http://www.campin.net/syslog-ng/faq.html<BR><BR></BLOCKQUOTE><p>
		<hr size=1>Do you Yahoo!?<br> 
<a href="http://us.rd.yahoo.com/my/navbar/sethp/*http://www.yahoo.com/r/hs">Make Yahoo! your home page</a> 
 
 

--0-948364602-1113505411=:16587--