RE: [syslog-ng]-linux/bin/ld: cannot find -lglib-2.0
/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 ?
ps: use the latest snapshot of 1.9.x as plain 1.9.3 contains a problem in macro expansion.
Thanks. I changed to the snapshot. Philipp
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
participants (2)
-
Balazs Scheidler
-
Philipp Snizek