[syslog-ng] Unable to compile version 1.6.12 on Solaris 9

Balazs Scheidler bazsi at balabit.hu
Thu Mar 8 10:30:34 CET 2007


On Wed, 2007-03-07 at 19:07 +0100, roel at raphor.net wrote:
> I'm trying to compile syslog-ng-1.6.12 on Solaris 9.
> This aborts with the following error:
> 
> gcc  -g -O2 -Wall -I/usr/local/src/syslog-ng-1.6.12/libol-0.3.18/src
> -D_GNU_SOURCE   -o syslog-ng  main.o sources.o center.o filters.o
> destinations.o log.o cfgfile.o cfg-grammar.o cfg-lex.o affile.o afsocket.o
> afunix.o afinet.o afinter.o afuser.o afstreams.o afprogram.o afremctrl.o
> nscache.o utils.o syslog-names.o macros.o getopt.o getopt1.o -lpthread
> -lrt -lnsl -lsocket -ldoor -lresolv  -Wl,-Bstatic
> /usr/local/src/syslog-ng-1.6.12/libol-0.3.18/src/.libs/libol.a -lsocket
> -lnsl -lxnet -ll     -Wl,-Bdynamic
> ld: fatal: library -lxnet: not found
> ld: fatal: File processing errors. No output written to syslog-ng
> collect2: ld returned 1 exit status
> make[3]: *** [syslog-ng] Error 1
> make[3]: Leaving directory `/usr/local/src/syslog-ng-1.6.12/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/syslog-ng-1.6.12/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/src/syslog-ng-1.6.12/src'
> make: *** [all-recursive] Error 1
> 
> Whereas syslog-ng-1.6.11 compiles without any problems.
> Any suggestions?

xnet is not a new dependency at all. perhaps, try compiling with
--enable-full-dynamic

-- 
Bazsi



More information about the syslog-ng mailing list