[syslog-ng]-linux/bin/ld: cannot find -lglib-2.0
Philipp Snizek
syslog-ng@lists.balabit.hu
Tue, 29 Mar 2005 17:55:24 +0200
=20
>
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware
> > -linux/bin/ld: cannot find -lglib-2.0
> > collect2: ld returned 1 exit status
> > make[2]: *** [syslog-ng] Error 1
> > make[2]: Leaving directory `/root/syslog-ng-1.9.3/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/syslog-ng-1.9.3'
> > make: *** [all] Error 2
> >=20
> > However, glib-2.0 is installed and the path in ld.config.so=20
> points to=20
> > /usr/local/lib
>=20
> static glib, syslog-ng tries to link to glib statically.
Thanks for your answer.
What do I have to do ?
=20
> ps: use the latest snapshot of 1.9.x as plain 1.9.3 contains=20
> a problem in macro expansion.
Thanks. I changed to the snapshot.
Philipp