i am trying to compile syslog-ng-2.0.4 in RHEL4 box. When i did ./configure, it provides me the following error: .............. checking for GLIB... Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found no configure: error: Cannot find GLib library version >= 2.2: is pkg-config in path? ............. I have glib-1.2.10-11.1 version on my RHEL4 box. Is that the problem with the glib version or has anyone got this problem before ? I could not figure out what might be the problem...suggestions/experiences are welcome.. Thank You, gorkhe
On Wed, 11 Jul 2007 16:37:50 CDT, Raj Gurung said:
i am trying to compile syslog-ng-2.0.4 in RHEL4 box. When i did ./configure, it provides me the following error: .............. checking for GLIB... Package glib-2.0 was not found in the pkg-config search path.
I have glib-1.2.10-11.1 version on my RHEL4 box. Is that the problem with the glib version or has anyone got this problem before ?
Install the 'glib2' and 'glib2-devel' RPMs. Yes, they *WILL* co-exist next to your glib and glib-devel versions, having both versions installed is safe and effective and should fix your problem.
I installed glib2 and glib2-devel RPMS, but still says i needed glibc-2.3.4. Currently I have glibc-2.3.2, Can glibc-2.3.2 and glibc-2.3.4 or higher co-exist in a machine. Thanks for your response, gorkhe ----- Original Message ----- From: "Valdis Kletnieks" <Valdis.Kletnieks@vt.edu> To: "Raj Gurung" <rgurung@cait.org> Cc: "Syslog-ng users' and developers' mailing list" <syslog-ng@lists.balabit.hu> Sent: Wednesday, July 11, 2007 4:59:08 PM (GMT-0600) America/Chicago Subject: Re: [syslog-ng] compilation errors -- Syslog-ng-2.0.4 On Wed, 11 Jul 2007 16:37:50 CDT, Raj Gurung said:
i am trying to compile syslog-ng-2.0.4 in RHEL4 box. When i did ./configure, it provides me the following error: .............. checking for GLIB... Package glib-2.0 was not found in the pkg-config search path.
I have glib-1.2.10-11.1 version on my RHEL4 box. Is that the problem with the glib version or has anyone got this problem before ?
Install the 'glib2' and 'glib2-devel' RPMs. Yes, they *WILL* co-exist next to your glib and glib-devel versions, having both versions installed is safe and effective and should fix your problem.
On Thu, 12 Jul 2007 10:14:08 CDT, Raj Gurung said:
I installed glib2 and glib2-devel RPMS, but still says i needed glibc-2.3.4. Currently I have glibc-2.3.2, Can glibc-2.3.2 and glibc-2.3.4 or higher co-exist in a machine.
The current RHEL4 glibc is glibc-2.3.4-2.36 (for RHEL5, it's 2.5-12). The *last* 2.3.2 from RedHat was: * Tue Nov 18 2003 Jakub Jelinek <jakub@redhat.com> 2.3.2-102 I have no idea how you managed to get a functional RHEL4 with a 2.3.2 glibc, as RHEL4 shipped in Feb 2005. RHEL3 was in Oct 2003, and would have had a 2.3.2 at ship - but your upgrade/install of RHEL4 would have updated it. I think you're likely *severely* backlevel on patches - you really need to consider patching/upgrading that machine.
Please keep in mind that glib2 is a completely different package than glibc. --- James T. Richardson, Jr. jrichardson@x-iss.com eXcellence in IS Solutions, Inc. 713-862-9200 x226 -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Raj Gurung Sent: Thursday, July 12, 2007 10:14 AM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] compilation errors -- Syslog-ng-2.0.4 I installed glib2 and glib2-devel RPMS, but still says i needed glibc-2.3.4. Currently I have glibc-2.3.2, Can glibc-2.3.2 and glibc-2.3.4 or higher co-exist in a machine. Thanks for your response, gorkhe ----- Original Message ----- From: "Valdis Kletnieks" <Valdis.Kletnieks@vt.edu> To: "Raj Gurung" <rgurung@cait.org> Cc: "Syslog-ng users' and developers' mailing list" <syslog-ng@lists.balabit.hu> Sent: Wednesday, July 11, 2007 4:59:08 PM (GMT-0600) America/Chicago Subject: Re: [syslog-ng] compilation errors -- Syslog-ng-2.0.4 On Wed, 11 Jul 2007 16:37:50 CDT, Raj Gurung said:
i am trying to compile syslog-ng-2.0.4 in RHEL4 box. When i did ./configure, it provides me the following error: .............. checking for GLIB... Package glib-2.0 was not found in the pkg-config search path.
I have glib-1.2.10-11.1 version on my RHEL4 box. Is that the problem with the glib version or has anyone got this problem before ?
Install the 'glib2' and 'glib2-devel' RPMs. Yes, they *WILL* co-exist next to your glib and glib-devel versions, having both versions installed is safe and effective and should fix your problem. _______________________________________________ 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 NOTICE: This message may contain privileged or otherwise confidential information. If you are not the intended recipient, please immediately advise the sender by reply email and delete the message and any attachments without using, copying or disclosing the contents.
On Thu, 12 Jul 2007 11:34:01 CDT, James Richardson said:
Please keep in mind that glib2 is a completely different package than glibc.
What he's almost certainly getting bit by is the fact that the RHEL4 glib2 RPMs were built against a glibc 2.3.4, and when trying to install them, it's complaining that the glibc is backleveled.
Now I am planning to upgrade the packages from RHN. Thanks Valdis and all for your suggestions. --gorkhe ----- Original Message ----- From: "Valdis Kletnieks" <Valdis.Kletnieks@vt.edu> To: "Syslog-ng users' and developers' mailing list" <syslog-ng@lists.balabit.hu> Sent: Thursday, July 12, 2007 12:16:09 PM (GMT-0600) America/Chicago Subject: Re: [syslog-ng] compilation errors -- Syslog-ng-2.0.4 On Thu, 12 Jul 2007 11:34:01 CDT, James Richardson said:
Please keep in mind that glib2 is a completely different package than glibc.
What he's almost certainly getting bit by is the fact that the RHEL4 glib2 RPMs were built against a glibc 2.3.4, and when trying to install them, it's complaining that the glibc is backleveled.
participants (3)
-
James Richardson
-
Raj Gurung
-
Valdis.Kletnieks@vt.edu