Re: [syslog-ng]trouble configuring syslog-ng with libraries
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? Thank you for the help earlier. Balazs Scheidler <bazsi@balabit.hu> wrote: On Thu, 2005-04-14 at 07:52 -0700, John Thrumston wrote:
I am trying to load syslog-ng for the first time. I am loading it on a Solaris 9 box. I am using syslog-ng.1.9.4 downloaded from the host site.
I believe I have all the libraries needed. I am not really sure. when I run ./configure --enable-tcp_wrappers I get the following error at the end of the configure.
checking for eventlog... Package eventlog was not found in the pkg-config search path. Perhaps you should add the directory containing `eventlog.pc' to the PKG_CONFIG_PATH environment variable No package 'eventlog' found configure: error: Library requirements (eventlog) not met; consider adjusting the PKG_CONFIG_PATH environment va riable if your libraries are in a nonstandard prefix so pkg-config can find them.
I have searched google and such for where I might find this eventlog or the library variable event.pc put cannot locate it. I did a find on the system and this event.pc doesn't exist.
I am not sure what other questions you might have but I could use any help that can be provided.
eventlog is available from the same directory where you downloaded syslog-ng from. http://www.balabit.com/downloads/syslog-ng/1.9/src -- 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!? Yahoo! Small Business - Try our new resources site!
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
participants (2)
-
Balazs Scheidler
-
John Thrumston