[syslog-ng] Problems compiling syslog-ng 1.6.11 on sparc running Solaris 10

Stuart_Weaver at ElementK.com Stuart_Weaver at ElementK.com
Fri Jun 30 19:31:56 CEST 2006


Hello.

I am trying to build syslog-ng version 1.6.11 (I have also tried version 
1.6.8 with the same results) on a sparc running Solaris 10 ( SunOS frylock 
5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V890 ).

The output leads me to believe I may be missing a library.  If anyone 
could help me out I would be very thankful.


I am building with the following ....

PATH=$PATH:/usr/elmk/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb
export PATH
CC=/usr/elmk/bin/gcc
export CC
cd libol-0.3.18 && ./configure && gmake && cd .. && ./configure 
--prefix=/usr/local --with-libol=./libol-0.3.18 -with-as=/usr/sfw/bin/gas 
--with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld && gmake && gmake 
install


The runtime linking environment looks as follows....

  Default Library Path (ELF):   /lib:/usr/lib:/usr/sfw/lib
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system 
default)



The build stops while trying to compile syslog-ng with the following 
output....

/usr/elmk/bin/gcc  -g -O2 -Wall 
-I/src/solaris10/syslog-ng/syslog-ng-1.6.8/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  -lpthread -lnsl -lsocket -ldoor -lresolv 
/src/solaris10/syslog-ng/syslog-ng-1.6.8/libol-0.3.18/src/.libs/libol.a 
-lsocket -lnsl -lxnet -Wl,-Bstatic -ll     -Wl,-Bdynamic
ld: fatal: library -ll: not found
ld: fatal: File processing errors. No output written to syslog-ng
collect2: ld returned 1 exit status
gmake[3]: *** [syslog-ng] Error 1
gmake[3]: Leaving directory `/src/solaris10/syslog-ng/syslog-ng-1.6.8/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/src/solaris10/syslog-ng/syslog-ng-1.6.8/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/src/solaris10/syslog-ng/syslog-ng-1.6.8/src'
gmake: *** [all-recursive] Error 1



gcc version is ...

Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: ./configure --prefix=/usr/elmk -with-as=/usr/sfw/bin/gas 
--with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld 
--enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 4.1.1




More information about the syslog-ng mailing list