[syslog-ng]-linux/bin/ld: cannot find -lglib-2.0

Philipp Snizek syslog-ng@lists.balabit.hu
Tue, 29 Mar 2005 14:17:24 +0200


Hi

I have a problem with installing syslog-ng 1.9.3

gcc  -g -O2 -Wall -g   -o syslog-ng  main.o misc.o utils.o messages.o
gsockaddr.o syslog-names.o macros.o logmsg.o cfg.o logpipe.o driver.o
sgroup.o dgroup.o center.o filter.o logsource.o logreader.o
logwriter.o affile.o afunix.o afinet.o afsocket.o afstreams.o afuser.o
afprog.o afinter.o cfg-lex.o cfg-grammar.o fdwrite.o fdread.o
memtrace.o templates.o children.o  -lnsl  -Wl,-static -lfl
-L/usr/local/lib -lglib-2.0   -levtlog   -Wl,-call_shared
/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

What am I missing?

thanks
Philipp