[syslog-ng]-linux/bin/ld: cannot find -lglib-2.0
Balazs Scheidler
syslog-ng@lists.balabit.hu
Wed, 30 Mar 2005 09:54:27 +0200
On Tue, 2005-03-29 at 17:55 +0200, Philipp Snizek wrote:
>
> >
> /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
> > >
> > > However, glib-2.0 is installed and the path in ld.config.so
> > points to
> > > /usr/local/lib
> >
> > static glib, syslog-ng tries to link to glib statically.
>
> Thanks for your answer.
> What do I have to do ?
the static library is in the devel package usually, you need to look for
something like libglib-2.0.a
--
Bazsi