[syslog-ng]ld: cannot find -levtlog

Philipp Snizek syslog-ng@lists.balabit.hu
Fri, 1 Apr 2005 09:56:56 +0200


=20
When compiling syslog-1.9.3 I get "ld: cannot find -levtlog"

If evtlog means the eventlog libraries from eventlog-0.2.2, they're
located in /usr/local/lib (that's what the installation rouine sais).
/usr/local/lib is in /etc/ld.so.conf and I ran ldconfig. I could
install eventlog-0.2.2 without problems.

The exact error message:

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 -levtlog
collect2: ld returned 1 exit status

Thanks again
Philipp