Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303449 - app-admin/syslog-ng-3.0.4 - ./configure: ld: cannot find -lglib-2.0
Summary: app-admin/syslog-ng-3.0.4 - ./configure: ld: cannot find -lglib-2.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 13:48 UTC by Petr Gregor
Modified: 2010-02-06 10:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,7.16 KB, text/plain)
2010-02-04 13:51 UTC, Petr Gregor
Details
Config log (config.log,100.67 KB, text/plain)
2010-02-04 13:51 UTC, Petr Gregor
Details
emerge --info (emerge.info,3.02 KB, text/plain)
2010-02-04 13:54 UTC, Petr Gregor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Gregor 2010-02-04 13:48:59 UTC
When I try to install syslog-ng emerge fails with:

checking for GLIB - version >= 2.10.1... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: Cannot find GLIB version >= 2.10.1: is pkg-config in path?



Reproducible: Always

Steps to Reproduce:
1. emerge syslog-ng
Comment 1 Petr Gregor 2010-02-04 13:51:20 UTC
Created attachment 218399 [details]
Build log
Comment 2 Petr Gregor 2010-02-04 13:51:51 UTC
Created attachment 218401 [details]
Config log
Comment 3 Petr Gregor 2010-02-04 13:54:55 UTC
Created attachment 218403 [details]
emerge --info
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-04 21:25:10 UTC
Which version of dev-libs/glib is installed? Does app-admin/syslog-ng succeed to build if you re-emerge dev-libs/glib first?
Comment 5 Petr Gregor 2010-02-05 07:53:12 UTC
I have dev-libs/glib-2.20.5-r1 installed.
Build fails even after re-installing glib.
Comment 6 Petr Gregor 2010-02-06 10:47:05 UTC
Found my mistake I had wrong profile selected. Syslog now builds just fine.
Sorry