Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I am trying to install syslog-ng-3.0.2 on Fedora 12 and have run into an issue I don't know how to solve. When runing the "configure --enable-ssl" I get the following
"checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.14... yes
checking for GLIB - version >= 2.0... 2.0, bad version string
no
configure: error: Cannot find GLIB version >= 2.0: is pkg-config in path?"
I have glib-2.24.0 installed on this system so I don't understand where this issue is coming from or how to fix it. Anybody have any ideas?
Back ground on my system -
[root@syslog-ng]# set PKG_CONFIG=/usr/lib/pkgconfig
[root@syslog-ng]# export PKG_CONFIG
I checked my $PATH and if there was a pkgconfig directory containing any .pc files I added those to my $PATH. That didn't help.
The reason I am using the PKG_CONFIG option is that without it, the configure misses the EVTLOG variable it is looking for.
Still looking into the error. I am starting to wonder if the configure script is passing the right variables or parsing the right information to pull the correct versions. I can do it from the command line and it returns the right information.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
The default glib2 for Fedora 12 is 2.22.2 = OK for syslog-ng-3.x.x .
May be some files are incorrectly installed by the change to 2.24.0.
Or you have both version installed ? ?
# yum install glib2-devel
.. to get the correct files.
# yum install syslog-ng
.. will install version 2.1.4
The default glib2 for Fedora 12 is 2.22.2 = OK for syslog-ng-3.0.2 .
May be some files are incorrectly installed by the change to 2.24.0.
Or you have both version installed ? ?
# yum install syslog-ng
.. will install version 2.1.4
I got that to install ok now, but when I installed php-syslog-ng I get the following error after the initial setup. Funny thing is that opeing the file through vi I only see 705 lines.
Parse error: syntax error, unexpected $end in /var/www/html/includes/common_funcs.php on line 706
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.